Argument

Auto-generated documentation for mypy_boto3_builder.structures.argument module.

Method or function argument.

Argument

[find in source code]

class Argument():
    def __init__(
        name: str,
        type_annotation: Optional[FakeAnnotation],
        default: Optional[TypeConstant] = None,
        prefix: str = '',
    ):

Method or function argument.

Arguments

  • name - Argument name.
  • type_annotation - Argument type annotation.
  • value - Default argument value.
  • prefix - Used for starargs.

Argument().get_types

[find in source code]

def get_types() -> Set[FakeAnnotation]:

Argument().required

[find in source code]

@property
def required() -> bool: