Program faust models used to list models available.

class faust.cli.models.models(ctx: click.core.Context, *args: Any, key_serializer: Union[faust.types.codecs.CodecT, str, None] = None, value_serializer: Union[faust.types.codecs.CodecT, str, None] = None, **kwargs: Any) → None[source]

List all available models as a tabulated list.

title = 'Models'
headers = ['name', 'help']
sortkey = operator.attrgetter('_options.namespace')
options = [option('--builtins/--no-builtins', default=False)]
async run(*, builtins: bool) → None[source]

Dump list of available models in this application.

Return type


models(builtins: bool) → Sequence[Type[faust.types.models.ModelT]][source]

Convert list of models to terminal table rows.

Return type


model_to_row(model: Type[faust.types.models.ModelT]) → Sequence[str][source]

Convert model fields to terminal table columns.

Return type