-
Notifications
You must be signed in to change notification settings - Fork 166
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, python: support envvar scanning for headers #3064
Conversation
@@ -26,6 +28,7 @@ class SeedAuthEnvironmentVariables: | |||
from seed.client import SeedAuthEnvironmentVariables | |||
|
|||
client = SeedAuthEnvironmentVariables( | |||
x_another_header="YOUR_X_ANOTHER_HEADER", |
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.
@armandobelardo (for the future) we should do something smart in the IR Generation that removes x_
for any headers
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.
(for the header name)
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.
Ah that's fair, I thought we did it now, but I think it's only for openAPI headers, not ones from Fern defs
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.
🚀
No description provided.