Skip to content
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

Widen AuthClient client_id types to include UUID #676

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jan 31, 2023

Users are now permitted to pass UUID objects to AuthClient and its subclasses. The UUID is converted to a string on init, but this is more accepting in terms of inputs and matches some usage we have seen in the wild which probably works but is not guaranteed.

New unit tests simply assert that the UUID values are accepted and converted to str values on init.

Users are now permitted to pass UUID objects to AuthClient and its
subclasses. The UUID is converted to a string on init, but this is
more accepting in terms of inputs and matches some usage we have seen
in the wild which *probably* works but is not guaranteed.

New unit tests simply assert that the UUID values are accepted and
converted to str values on init.
@sirosen sirosen force-pushed the allow-uuid-for-client-id branch from 2acdd95 to 61a6ce1 Compare February 2, 2023 20:02
@sirosen
Copy link
Member Author

sirosen commented Feb 2, 2023

The pylint failure is brand new and happens on main, so I'm going to merge in spite of it and then figure out the fix for that separately.

@sirosen sirosen merged commit 1df3fd9 into globus:main Feb 2, 2023
@sirosen sirosen deleted the allow-uuid-for-client-id branch February 2, 2023 20:14
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.

2 participants