Main#
Mypy_boto3_builder Index / Mypy Boto3 Builder / Main
Auto-generated documentation for mypy_boto3_builder.main module.
generate_product#
Generate a selected product.
Arguments#
product
- Product to generateargs
- CLI namespaceservice_names
- Selected service namesmaster_service_names
- Service names included in master
Signature#
def generate_product(
product: Product,
args: CLINamespace,
service_names: Sequence[ServiceName],
master_service_names: Sequence[ServiceName],
) -> None: ...
See also#
get_available_service_names#
Get a list of boto3 supported service names.
Arguments#
session
- Boto3 session
Returns#
A list of supported services.
Signature#
See also#
get_generator_cls#
Get Generator class for a product.
Raises#
ValueError
- If product is not supported.
Signature#
See also#
get_selected_service_names#
Get a list of selected service names.
Supports updated
to select only services updated in currect boto3
release.
Supports all
to select all available service names.
Arguments#
selected
- Selected service names as strings.available
- All ServiceNames available in current boto3 release.
Returns#
A list of selected ServiceNames.
Signature#
def get_selected_service_names(
selected: Iterable[str], available: Iterable[ServiceName]
) -> list[ServiceName]: ...
See also#
main#
Run builder.