Constants

mypy-boto3-builder Index / Mypy Boto3 Builder / Constants

Auto-generated documentation for mypy_boto3_builder.constants module.

Attributes

  • DUMMY_REGION - Random region to initialize services: 'us-west-2'

  • TEMPLATES_PATH - Jinja2 templates for boto3-stubs: Path(__file__).parent / 'templates'

  • BOTO3_STUBS_STATIC_PATH - Static *.pyi files for boto3-stubs: Path(__file__).parent / 'stubs_static' / 'boto3'

  • BOTOCORE_STUBS_STATIC_PATH - Static *.pyi files for botocore-stubs: Path(__file__).parent / 'stubs_static' / 'botocore'

  • AIOBOTOCORE_STUBS_STATIC_PATH - Static *.pyi files for types-aiobotocore: Path(__file__).parent / 'stubs_static' / 'aiobotocore'

  • AIOBOTO3_STUBS_STATIC_PATH - Static *.pyi files for types-aioboto3: Path(__file__).parent / 'stubs_static' / 'aioboto3'

  • LINE_LENGTH - Max line length for boto3 docs: 100

  • BUILDER_REPO_URL - mypy-boto3-builder GitHub link: 'https://github.com/youtype/mypy_boto3_builder'

  • LOGGER_NAME - Main logger name: 'mypy_boto3_builder'

  • PROG_NAME - builder CLI entrypoint name: 'mypy_boto3_builder'

  • PACKAGE_NAME - builder package name: 'mypy-boto3-builder'

  • Constants

  • Product
  • ProductLibrary
  • ProductType

Product

Show source in constants.py:62

Product choice for CLI.

Signature

class Product(Enum):
    ...

Product().get_library

Show source in constants.py:79

Get library name.

Signature

def get_library(self) -> ProductLibrary:
    ...

See also

Product().get_type

Show source in constants.py:88

Get product type.

Signature

def get_type(self) -> ProductType:
    ...

See also

ProductLibrary

Show source in constants.py:42

Product library for Generator.

Signature

class ProductLibrary(Enum):
    ...

ProductType

Show source in constants.py:52

Product type for Generator.

Signature

class ProductType(Enum):
    ...