InternalImportRecord

mypy-boto3-builder Index / Mypy Boto3 Builder / Import Helpers / InternalImportRecord

Auto-generated documentation for mypy_boto3_builder.import_helpers.internal_import_record module.

InternalImportRecord

Show source in internal_import_record.py:9

Helper for Python import strings with not set master module name.

Arguments

  • service_module_name - Service module name.
  • name - Import name.
  • alias - Import local name.

Signature

class InternalImportRecord(ImportRecord):
    def __init__(
        self, service_module_name: ServiceModuleName, name: str = "", alias: str = ""
    ):
        ...

See also

InternalImportRecord().get_external

Show source in internal_import_record.py:24

Get full import record with module_name set as master module.

Arguments

  • module_name - Master module import string.

Returns

A new non-internal ImportRecord.

Signature

def get_external(self, module_name: str) -> ImportRecord:
    ...

See also