faust.cli.model

Program faust model used to list details about a model.

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

Show model detail.

headers = ['field', 'type', 'default']
options = [<function argument.<locals>.decorator>]
model_fields(model: Type[faust.types.models.ModelT]) → Sequence[Sequence[str]][source]
Return type:Sequence[Sequence[str]]
field(field: faust.types.models.FieldDescriptorT) → Sequence[str][source]
Return type:Sequence[str]
model_to_row(model: Type[faust.types.models.ModelT]) → Sequence[str][source]
Return type:Sequence[str]
coroutine run(self, name: str) → None[source]
Return type:None