def _open(self, container, name, mode="rb"): """ :param str name: Filename :param str mode: :rtype: ContentFile """ print(f'Retrieving blob: container={self.azure_container}, blob={name}') blob_client = self.connection.get_blob_client(container=container, blob=name) contents = blob_client.download_blob().readall() return ContentFile(contents)