Skip to content

Conversation

@tasherif-msft
Copy link
Contributor

This resolves #15358.
Currently using close() or a context manager fails. This is because self._client is called in datalake's base client.
However datalake service client is using blob_service_client under the hood and hence it does not have the attribute ._client of its own. This led to the inability of using context managers and getting AttributeError.

@tasherif-msft tasherif-msft enabled auto-merge (squash) January 29, 2021 01:20
@tasherif-msft tasherif-msft merged commit db32606 into Azure:master Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't close the client using both context manager and close() function

3 participants