-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
is_chained + black #31213
is_chained + black #31213
Conversation
API change check APIView has identified API level changes in this PR and created following API reviews. |
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.
Looks like the keyword argument is_chained
is now a part of the public API for these dev-time credentials. Was this is supposed to be an internal only param?
Because those credentials did not accept kwargs, to accept extra parameter, there is no way to hide it from public API changes. But they are not breaking changes. |
Is Seems like we use it in quite a few places for determining the log-level depending on if the credential is within a chain or not (example). |
When I synced with Bill, we only wanted to swallow the error in DAC. But not in all chained credentials. |
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.
Just a comment about deduping error messages.
I'm generally okay with the added is_chained
keyword argument. If we do get pushback for introducing this param to the API, then I think there are ways around it like setting credential._is_chained = True
directly after instantiating it in DAC.
No description provided.