@@ -33,6 +33,11 @@ class ChangeFeedClient(object):
33
33
- except in the case of AzureSasCredential, where the conflicting SAS tokens will raise a ValueError.
34
34
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
35
35
should be the storage account key.
36
+ :type credential:
37
+ ~azure.core.credentials.AzureNamedKeyCredential or
38
+ ~azure.core.credentials.AzureSasCredential or
39
+ ~azure.core.credentials.TokenCredential or
40
+ str or dict[str, str] or None
36
41
:keyword str secondary_hostname:
37
42
The hostname of the secondary endpoint.
38
43
:keyword int max_single_get_size:
@@ -79,7 +84,11 @@ def from_connection_string(
79
84
Credentials provided here will take precedence over those in the connection string.
80
85
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
81
86
should be the storage account key.
82
- :paramtype credential: Optional[Union[str, Dict[str, str], "AzureNamedKeyCredential", "AzureSasCredential", "TokenCredential"]] = None, # pylint: disable=line-too-long
87
+ :type credential:
88
+ ~azure.core.credentials.AzureNamedKeyCredential or
89
+ ~azure.core.credentials.AzureSasCredential or
90
+ ~azure.core.credentials.TokenCredential or
91
+ str or dict[str, str] or None
83
92
:returns: A change feed client.
84
93
:rtype: ~azure.storage.blob.changefeed.ChangeFeedClient
85
94
0 commit comments