Processors

Auto-generated documentation for mypy_boto3_builder.writers.processors module.

Processors for parsing and writing modules.

process_boto3_stubs

[find in source code]

def process_boto3_stubs(
    session: Session,
    output_path: Path,
    service_names: List[ServiceName],
    generate_setup: bool,
) -> Boto3StubsPackage:

Parse and write stubs package boto3_stubs.

Arguments

  • session - boto3 session.
  • output_path - Package output path.
  • service_names - List of known service names.
  • generate_setup - Whether to generate install or installed package.

Returns

Parsed Boto3StubsPackage.

See also

process_master

[find in source code]

def process_master(
    session: Session,
    output_path: Path,
    service_names: List[ServiceName],
    generate_setup: bool,
) -> MasterPackage:

Parse and write master package mypy_boto3.

Arguments

  • session - boto3 session.
  • output_path - Package output path.
  • service_names - List of known service names.
  • generate_setup - Whether to generate install or installed package.

Returns

Parsed MasterPackage.

See also

process_service

[find in source code]

def process_service(
    session: Session,
    service_name: ServiceName,
    output_path: Path,
    generate_setup: bool,
) -> ServicePackage:

Parse and write service package mypy_boto3_*.

Arguments

  • session - boto3 session.
  • service_name - Target service name.
  • output_path - Package output path.
  • generate_setup - Whether to generate install or installed package.

Returns

Parsed ServicePackage.

See also