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

Fix return type for name property in Credentials class. #352

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

DrFobos
Copy link
Contributor

@DrFobos DrFobos commented Feb 17, 2025

It seems like type annotation for name property in gssapi.creds.Credentials class should be gssapi.names.Name rather than gssapi.raw.names.Name.

Because it explicitly casts in gssapi.creds.Credentials.inquire.

Change return type and add checks into tests.

@DrFobos DrFobos force-pushed the main branch 2 times, most recently from 7278672 to da7fdc3 Compare February 17, 2025 16:56
@DrFobos DrFobos marked this pull request as ready for review February 17, 2025 16:57
@jborean93
Copy link
Contributor

Hey sorry the CI workers were a bit old so I had to update them in #353 to get CI passing. Would you be able to rebase this PR so it runs with the latest changes before I merge it in?

@DrFobos
Copy link
Contributor Author

DrFobos commented Feb 18, 2025

Sure, no problem.

Copy link
Contributor

@jborean93 jborean93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this.

@jborean93 jborean93 merged commit 52bd8e9 into pythongssapi:main Feb 18, 2025
45 checks passed
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