InternalImportRecord

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

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

InternalImportRecord

[find in source code]

class InternalImportRecord(ImportRecord):
    def __init__(
        service_module_name: ServiceModuleName,
        name: str = '',
        alias: str = '',
    ):

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.

See also

InternalImportRecord().get_external

[find in source code]

def get_external(module_name: str) -> ImportRecord:

Get full import record with module_name set as master module.

Arguments

  • module_name - Master module import string.

Returns

A new non-internal ImportRecord.

See also