feat: add support for AWS session token in S3 configuration

This commit is contained in:
Mohammad 2025-09-10 14:14:22 +02:00
parent 5fa5bfa682
commit e2ed279314

View file

@ -11,6 +11,7 @@ class S3Config(BaseSettings):
aws_session_token: Optional[str] = None
model_config = SettingsConfigDict(env_file=".env", extra="allow")
@lru_cache
def get_s3_config():
return S3Config()