faust.cli.params

Python https://pypi.org/project/click/ parameter types.

class faust.cli.params.CaseInsensitiveChoice(choices: Iterable[Any])[source]

Case-insensitive version of click.Choice.

convert(value: str, param: Optional[Parameter], ctx: Optional[Context]) Any[source]

Convert string to case-insensitive choice.

Return type:

Any

class faust.cli.params.TCPPort[source]

CLI option: TCP Port (integer in range 1 - 65535).

name: str = 'range[1-65535]'

the descriptive name of this type

class faust.cli.params.URLParam[source]

URL https://pypi.org/project/click/ parameter type.

Converts any string URL to yarl.URL.

name: str = 'URL'

the descriptive name of this type

convert(value: str, param: Optional[Parameter], ctx: Optional[Context]) URL[source]

Convert str argument to yarl.URL.

Return type:

URL