Skip to content

Commit 47fb430

Browse files
[Storage] [Blob Changefeed] Fixed next pylint errors in blob changefeed (#35270)
1 parent 9138c95 commit 47fb430

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_change_feed_client.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class ChangeFeedClient(object):
3333
- except in the case of AzureSasCredential, where the conflicting SAS tokens will raise a ValueError.
3434
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
3535
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
3641
:keyword str secondary_hostname:
3742
The hostname of the secondary endpoint.
3843
:keyword int max_single_get_size:
@@ -79,7 +84,11 @@ def from_connection_string(
7984
Credentials provided here will take precedence over those in the connection string.
8085
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
8186
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
8392
:returns: A change feed client.
8493
:rtype: ~azure.storage.blob.changefeed.ChangeFeedClient
8594

0 commit comments

Comments
 (0)