mirror of
https://github.com/livekit/agents.git
synced 2026-12-06 03:28:34 +00:00
10 lines
248 B
Python
10 lines
248 B
Python
from __future__ import annotations
|
|
|
|
from aiobotocore.session import AioSession, get_session
|
|
|
|
DEFAULT_REGION = "us-east-1"
|
|
|
|
|
|
def resolve_session(session: AioSession | None) -> AioSession:
|
|
return session if session is not None else get_session()
|