Skip to content

Commit

Permalink
moved azure.storage.filedatalake
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Sep 9, 2024
1 parent bef5081 commit 2fafc36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sempy_labs/_helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from sempy.fabric.exceptions import FabricHTTPException
import urllib.parse
from azure.core.credentials import TokenCredential, AccessToken
from azure.storage.filedatalake import DataLakeServiceClient


def create_abfss_path(
Expand Down Expand Up @@ -890,7 +889,10 @@ def get_token(
return access_token


def get_adls_client(account_name) -> DataLakeServiceClient:
def get_adls_client(account_name):

from azure.storage.filedatalake import DataLakeServiceClient

account_url = f"https://{account_name}.dfs.core.windows.net"

service_client = DataLakeServiceClient(
Expand Down

0 comments on commit 2fafc36

Please sign in to comment.