Skip to content

Commit 36935a1

Browse files
committed
move s3 property to io module
1 parent ea0777c commit 36935a1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyiceberg/catalog/rest/credentials_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
S3_ACCESS_KEY_ID,
3131
S3_SECRET_ACCESS_KEY,
3232
S3_SESSION_TOKEN,
33+
S3_SESSION_TOKEN_EXPIRES_AT_MS,
3334
)
3435
from pyiceberg.typedef import IcebergBaseModel, Properties
3536
from pyiceberg.utils.properties import get_first_property_value
3637

37-
S3_SESSION_TOKEN_EXPIRES_AT_MS = "s3.session-token-expires-at-ms"
3838
CREDENTIALS_ENDPOINT = "client.refresh-credentials-endpoint"
3939
REFRESH_CREDENTIALS_ENABLED = "client.refresh-credentials-enabled"
4040

pyiceberg/io/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
S3_ACCESS_KEY_ID = "s3.access-key-id"
5959
S3_SECRET_ACCESS_KEY = "s3.secret-access-key"
6060
S3_SESSION_TOKEN = "s3.session-token"
61+
S3_SESSION_TOKEN_EXPIRES_AT_MS = "s3.session-token-expires-at-ms"
6162
S3_REGION = "s3.region"
6263
S3_RESOLVE_REGION = "s3.resolve-region"
6364
S3_PROXY_URI = "s3.proxy-uri"

0 commit comments

Comments
 (0)