Skip to content

Extended type hint of credential field#534

Merged
kyleknap merged 7 commits intofsspec:mainfrom
wonwuakpa-msft:wendi/typeIssue
Feb 25, 2026
Merged

Extended type hint of credential field#534
kyleknap merged 7 commits intofsspec:mainfrom
wonwuakpa-msft:wendi/typeIssue

Conversation

@wonwuakpa-msft
Copy link
Copy Markdown
Collaborator

@wonwuakpa-msft wonwuakpa-msft commented Feb 9, 2026

Description

Extended type hint of credential field.
Included new import (annotations from __future__) to fix F821 linting error of undefined name in type hint

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Code quality improvement
  • Other (describe):

Copy link
Copy Markdown
Collaborator

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

This looks great, @wonwuakpa-msft! One minor change we can make before we merge, with 72995ba, we now have PEP 563 annotations that automatically support forward references. We shouldn't need the quoting anymore.

Comment thread adlfs/spec.py Outdated
Comment thread adlfs/spec.py Outdated
Comment thread adlfs/spec.py Outdated
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
Copy link
Copy Markdown
Collaborator

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

Thanks @wonwuakpa-msft! @kyleknap this should be set unless you have other comments. I'll rebase the other work once this is in.

Copy link
Copy Markdown
Collaborator

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

Looks good to me! 🚢

@kyleknap kyleknap merged commit 7319264 into fsspec:main Feb 25, 2026
8 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.

3 participants