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

[ACR] Address credential description in docstring #29549

Merged
merged 1 commit into from
Mar 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ContainerRegistryBaseClient(object):
"""Base class for ContainerRegistryClient
:param str endpoint: Azure Container Registry endpoint
:param credential: AAD Token for authenticating requests with Azure, or None in anonymous access
:param credential: Token credential for authenticating requests with Azure, or None in anonymous access
:type credential: ~azure.core.credentials.TokenCredential or None
:keyword credential_scopes: URL for credential authentication if different from the default
:paramtype credential_scopes: List[str]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(
"""Create a ContainerRegistryClient from an ACR endpoint and a credential.
:param str endpoint: An ACR endpoint.
:param credential: The credential with which to authenticate.
:param credential: The credential with which to authenticate. This should be None in anonymous access.
:type credential: ~azure.core.credentials.TokenCredential or None
:keyword api_version: API Version. The default value is "2021-07-01". Note that overriding this default value
may result in unsupported behavior.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ContainerRegistryBaseClient(object):
:param endpoint: Azure Container Registry endpoint
:type endpoint: str
:param credential: AAD Token for authenticating requests with Azure, or None in anonymous access
:param credential: Token credential for authenticating requests with Azure, or None in anonymous access
:type credential: ~azure.core.credentials_async.AsyncTokenCredential or None
:keyword credential_scopes: URL for credential authentication if different from the default
:paramtype credential_scopes: List[str]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
"""Create a ContainerRegistryClient from an ACR endpoint and a credential.
:param str endpoint: An ACR endpoint.
:param credential: The credential with which to authenticate.
:param credential: The credential with which to authenticate. This should be None in anonymous access.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential or None
:keyword api_version: API Version. The default value is "2021-07-01". Note that overriding this default value
may result in unsupported behavior.
Expand Down