-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sdk): allow setting of extra headers for the gql client #5237
Conversation
Example usage: wandb.init(settings={'extra_http_headers': ('X-FOO-HEADER:VALUE',)})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this @dmitryduev !
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5237 +/- ##
=======================================
Coverage 82.73% 82.73%
=======================================
Files 311 311
Lines 38397 38400 +3
=======================================
+ Hits 31767 31770 +3
Misses 6630 6630
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good enough for now.
Description
Provide a temporary way to pass extra headers to the GraphQL Client init.
TODO: Shall be refactored once the Settings refactor is complete.
Testing
How was this PR tested?
Checklist