Skip to content

Conversation

@DevonFulcher
Copy link
Collaborator

Summary

This helps with telemetry of the Discovery API.

@DevonFulcher DevonFulcher requested a review from a team as a code owner December 5, 2025 01:56
return {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json",
"X-Dbt-Partner-Source": "dbt-mcp",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't we lowercasing header names by default?

Copy link
Collaborator Author

@DevonFulcher DevonFulcher Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we are for direct API calls from dbt MCP to the Discovery API. We may be doing that for our internal use of this tool. Regardless, this casing is how the header appears in the Discovery API source code.

@DevonFulcher DevonFulcher enabled auto-merge (squash) December 5, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants