Skip to content

Commit ec52540

Browse files
add anon property
1 parent aae3210 commit ec52540

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

pyiceberg/io/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
ADLS_BLOB_STORAGE_SCHEME = "adls.blob-storage-scheme"
8484
ADLS_DFS_STORAGE_SCHEME = "adls.dfs-storage-scheme"
8585
ADLS_TOKEN = "adls.token"
86+
ADLS_ANON = "adls.anon"
8687
GCS_TOKEN = "gcs.oauth2.token"
8788
GCS_TOKEN_EXPIRES_AT_MS = "gcs.oauth2.token-expires-at"
8889
GCS_PROJECT_ID = "gcs.project-id"

pyiceberg/io/fsspec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
ADLS_ACCOUNT_HOST,
4343
ADLS_ACCOUNT_KEY,
4444
ADLS_ACCOUNT_NAME,
45+
ADLS_ANON,
4546
ADLS_CLIENT_ID,
4647
ADLS_CLIENT_SECRET,
4748
ADLS_CONNECTION_STRING,
@@ -266,6 +267,7 @@ async def get_token(self, *scopes: str, **kwargs: Any) -> AccessToken:
266267
client_id=properties.get(ADLS_CLIENT_ID),
267268
client_secret=properties.get(ADLS_CLIENT_SECRET),
268269
account_host=properties.get(ADLS_ACCOUNT_HOST),
270+
anon=properties.get(ADLS_ANON),
269271
)
270272

271273

0 commit comments

Comments
 (0)