-
Notifications
You must be signed in to change notification settings - Fork 0
chore(query-runs): clarify user_public_id documentation #153
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,6 @@ | |
| { | ||
| "BearerAuth": BearerAuthSetting, | ||
| "WorkspaceId": APIKeyAuthSetting, | ||
| "SessionId": APIKeyAuthSetting, | ||
| }, | ||
| total=False, | ||
| ) | ||
|
|
@@ -599,15 +598,6 @@ def auth_settings(self)-> AuthSettings: | |
| 'WorkspaceId', | ||
| ), | ||
| } | ||
| if 'SessionId' in self.api_keys: | ||
| auth['SessionId'] = { | ||
| 'type': 'api_key', | ||
| 'in': 'header', | ||
| 'key': 'X-Session-Id', | ||
| 'value': self.get_api_key_with_prefix( | ||
| 'SessionId', | ||
| ), | ||
| } | ||
| return auth | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking: dropping the
With Pick one:
Either way this should not merge as-is, since the current state is "documented parameter that quietly does nothing." |
||
|
|
||
| def to_debug_report(self) -> str: | ||
|
|
||
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.
nit: the changelog entry only covers the doc-string change, but this PR also removes the
SessionId/X-Session-IdAPI-key auth scheme fromConfiguration.auth_settings()and from thequery,get_result, andlist_resultsoperations. That is a user-facing breaking change and warrants its own entry under### Removed, alongside the existing uploads note. (not blocking on its own — but it needs to happen as part of resolving thesession_idissue inhotdata/configuration.py)