Skip to content

[docker] Annotate credential store helpers in auth - #17036

Open
arod19 wants to merge 1 commit into
python:mainfrom
arod19:docker-auth-credstore-types
Open

arod19 wants to merge 1 commit into
python:mainfrom
arod19:docker-auth-credstore-types

Conversation

@arod19

@arod19 arod19 commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Add return types to the credential-store helpers in docker.auth that had none (creds_store, cred_helpers, get_credential_store, resolve_authconfig, get_all_credentials).

Upstream (7.2.0):

Written with Claude Code; I reviewed the diff against the upstream source.

- AuthConfig.creds_store: str | None; cred_helpers: dict[str, str]
- get_credential_store (method and function): str | None
- resolve_authconfig (method and function): dict[str, Incomplete] | None
- AuthConfig.get_all_credentials: dict[str, Incomplete]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RCp18C76bvFh9tnMTumo53
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
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.

1 participant