Helpers

mypy-boto3-builder Index / Mypy Boto3 Builder / Parsers / Helpers

Auto-generated documentation for mypy_boto3_builder.parsers.helpers module.

get_public_methods

Show source in helpers.py:18

Extract public methods from any class.

Arguments

  • inspect_class - Inspect class.

Returns

A dictionary of method name and method.

Signature

def get_public_methods(inspect_class: object) -> dict[str, MethodType]:
    ...

parse_method

Show source in helpers.py:42

Parse method to a structure.

Arguments

  • parent_name - Parent class name.
  • method - Inspect method.

Returns

Method structure.

Signature

def parse_method(
    parent_name: str, name: str, method: MethodType, service_name: ServiceName
) -> Method:
    ...

See also