Source code for runway.type_defs

"""Type definitions."""
from __future__ import annotations

from pathlib import Path
from typing import TypeVar, Union

from typing_extensions import TypedDict

AnyPath = Union[Path, str]
AnyPathConstrained = TypeVar("AnyPathConstrained", Path, str)


[docs]class Boto3CredentialsTypeDef(TypedDict, total=False): """Boto3 credentials.""" aws_access_key_id: str aws_secret_access_key: str aws_session_token: str
[docs]class EnvVarsAwsCredentialsTypeDef(TypedDict, total=False): """AWS credentials from/for environment variables.""" AWS_ACCESS_KEY_ID: str AWS_SECRET_ACCESS_KEY: str AWS_SESSION_TOKEN: str