Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update storage configuration samples #9311

Closed
chlowell opened this issue Jan 3, 2020 · 2 comments
Closed

Update storage configuration samples #9311

chlowell opened this issue Jan 3, 2020 · 2 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)

Comments

@chlowell
Copy link
Member

chlowell commented Jan 3, 2020

Samples currently show configuring clients with internal APIs. For example, this one imports create_configuration from _shared and uses an underscored keyword argument:

# Create a storage Configuration object and update the proxy policy.
config = create_configuration(storage_sdk='blob')
config.proxy_policy.proxies = {
'http': http_proxy,
'https': https_proxy
}
# Construct the BlobServiceClient, including the customized configuation.
service_client = BlobServiceClient.from_connection_string(connection_string, _configuration=config)
containers = list(service_client.list_containers(logging_enable=True))

@xiangyan99
Copy link
Member

#21762

@tasherif-msft tasherif-msft self-assigned this Dec 1, 2021
@tasherif-msft
Copy link
Contributor

Resolved

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

4 participants