From c6156adee5a93d832de1720a64b91f2d2440a2e4 Mon Sep 17 00:00:00 2001 From: Peter Bull Date: Fri, 29 Nov 2024 16:15:21 -0800 Subject: [PATCH] format --- cloudpathlib/azure/azblobclient.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cloudpathlib/azure/azblobclient.py b/cloudpathlib/azure/azblobclient.py index acf49908..78de7891 100644 --- a/cloudpathlib/azure/azblobclient.py +++ b/cloudpathlib/azure/azblobclient.py @@ -218,14 +218,11 @@ def _check_hns(self, cloud_path: AzureBlobPath) -> Optional[bool]: return self._hns_enabled def _check_hns_root_metadata(self, cloud_path: AzureBlobPath) -> bool: - root_dir = self.service_client.get_blob_client( - container=cloud_path.container, blob="/" - ) + root_dir = self.service_client.get_blob_client(container=cloud_path.container, blob="/") self._hns_enabled = ( root_dir.exists() - and root_dir.get_blob_properties().metadata.get("hdi_isfolder", False) - == "true" + and root_dir.get_blob_properties().metadata.get("hdi_isfolder", False) == "true" ) return cast(bool, self._hns_enabled)