Base

mypy-boto3-builder Index / Mypy Boto3 Builder / Postprocessors / Base

Auto-generated documentation for mypy_boto3_builder.postprocessors.base module.

BasePostprocessor

Show source in base.py:15

Base postprocessor for classes and methods.

Arguments

  • session - Boto3 session
  • package - Service package
  • service_names - Available service names

Signature

class BasePostprocessor(ABC):
    def __init__(
        self,
        session: Session,
        package: ServicePackage,
        service_names: Sequence[ServiceName],
    ) -> None:
        ...

See also

BasePostprocessor().extend_literals

Show source in base.py:173

Add extra literals.

  • <Class>ServiceName
  • ServiceName
  • ResourceServiceName
  • PaginatorName
  • WaiterName
  • RegionName

Signature

def extend_literals(self) -> None:
    ...

BasePostprocessor().generate_docstrings

Show source in base.py:33

Generate all docstrings.

Signature

def generate_docstrings(self) -> None:
    ...

BasePostprocessor().process_package

Show source in base.py:44

Postprocess built package.

Signature

@abstractmethod
def process_package(self) -> None:
    ...

BasePostprocessor().replace_self_ref_typed_dicts

Show source in base.py:212

Remove self-references from TypedDicts.

Signature

def replace_self_ref_typed_dicts(self) -> None:
    ...