Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Merged
jborean93 merged 1 commit into pythongssapi:main from DrFobos:main
Feb 18, 2025

Conversation

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
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 reacted with eyes emoji

...est checks.
Signed-off-by: Aleksey Kondratov <drfobos91@mail.ru>
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.

DrFobos reacted with heart emoji
@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
Reviewers

@jborean93 jborean93 jborean93 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /