Skip to content

Commit

Permalink
Address credential description in docstring (#29549)
Browse files Browse the repository at this point in the history
  • Loading branch information
YalinLi0312 committed Mar 24, 2023
1 parent 697cc67 commit 585dcfe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 585dcfe

Please sign in to comment.