Merge pull request #1 from MSR97/feature/expand-s3fs-with-aws-session-token-support
feat: add support for AWS session token in S3 configuration
This commit is contained in:
commit
147d2a2e49
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue