Skip to content

Add missing imports for direct ContainerClient construction example - #128763

Open
SpiliosDmk (SpiliosDimakopoulos) wants to merge 1 commit into
MicrosoftDocs:mainfrom
SpiliosDimakopoulos:fix/storage-blob-container-client-missing-import
Open

Add missing imports for direct ContainerClient construction example#128763
SpiliosDmk (SpiliosDimakopoulos) wants to merge 1 commit into
MicrosoftDocs:mainfrom
SpiliosDimakopoulos:fix/storage-blob-container-client-missing-import

Conversation

@SpiliosDimakopoulos

Copy link
Copy Markdown

The 'create a container client directly without using BlobServiceClient'
Python example instantiates ContainerClient and DefaultAzureCredential,
but neither is imported anywhere on the page (only DefaultAzureCredential
and BlobServiceClient are imported, in the earlier BlobServiceClient
section). Every other Python example on this page explicitly shows an
'Add the following import statements' block before its code; this one
is missing it, so the example raises a NameError as written.

The 'create a container client directly without using BlobServiceClient'
Python example instantiates ContainerClient and DefaultAzureCredential,
but neither is imported anywhere on the page (only DefaultAzureCredential
and BlobServiceClient are imported, in the earlier BlobServiceClient
section). Every other Python example on this page explicitly shows an
'Add the following import statements' block before its code; this one
is missing it, so the example raises a NameError as written.
@prmerger-automator

Copy link
Copy Markdown
Contributor

SpiliosDmk (@SpiliosDimakopoulos) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

SpiliosDmk (@SpiliosDimakopoulos) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 242b586:

✅ Validation status: passed

File Status Preview URL Details
articles/storage/blobs/storage-blob-client-management.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants