Skip to content

Commit 55d4d55

Browse files
[Storage] [Blob] Updated docstrings for source_url parameter of upload_blob_from_url (#36227)
1 parent 5abe46f commit 55d4d55

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,9 @@ def upload_blob_from_url(self, source_url, **kwargs):
522522
:param str source_url:
523523
A URL of up to 2 KB in length that specifies a file or blob.
524524
The value should be URL-encoded as it would appear in a request URI.
525-
If the source is in another account, the source must either be public
526-
or must be authenticated via a shared access signature. If the source
527-
is public, no authentication is required.
525+
The source must either be public or must be authenticated via a shared
526+
access signature as part of the url or using the source_authorization keyword.
527+
If the source is public, no authentication is required.
528528
Examples:
529529
https://myaccount.blob.core.windows.net/mycontainer/myblob
530530

sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ async def upload_blob_from_url(self, source_url, **kwargs):
167167
:param str source_url:
168168
A URL of up to 2 KB in length that specifies a file or blob.
169169
The value should be URL-encoded as it would appear in a request URI.
170-
If the source is in another account, the source must either be public
171-
or must be authenticated via a shared access signature. If the source
172-
is public, no authentication is required.
170+
The source must either be public or must be authenticated via a shared
171+
access signature as part of the url or using the source_authorization keyword.
172+
If the source is public, no authentication is required.
173173
Examples:
174174
https://myaccount.blob.core.windows.net/mycontainer/myblob
175175

0 commit comments

Comments
 (0)