Skip to content

Commit 45e1b68

Browse files
add anon property
1 parent 3eecdad commit 45e1b68

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pyiceberg/io/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
ADLS_BLOB_STORAGE_SCHEME = "adls.blob-storage-scheme"
8989
ADLS_DFS_STORAGE_SCHEME = "adls.dfs-storage-scheme"
9090
ADLS_TOKEN = "adls.token"
91+
ADLS_ANON = "adls.anon"
9192
GCS_TOKEN = "gcs.oauth2.token"
9293
GCS_TOKEN_EXPIRES_AT_MS = "gcs.oauth2.token-expires-at"
9394
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,
@@ -240,6 +241,7 @@ async def get_token(self, *scopes: str, **kwargs: Any) -> AccessToken:
240241
client_id=properties.get(ADLS_CLIENT_ID),
241242
client_secret=properties.get(ADLS_CLIENT_SECRET),
242243
account_host=properties.get(ADLS_ACCOUNT_HOST),
244+
anon=properties.get(ADLS_ANON),
243245
)
244246

245247

0 commit comments

Comments
 (0)