Cli List
- class dffml.cli.list.List(extra_config=None, **kwargs)[source]
List records and installed interfaces
- models
alias of
dffml.cli.list.ListModels
- records
alias of
dffml.cli.list.ListRecords
- services
alias of
dffml.cli.list.ListServices
- sources
alias of
dffml.cli.list.ListSources
- class dffml.cli.list.ListModels(extra_config=None, **kwargs)[source]
List installed models
- ENTRYPOINT
alias of
dffml.model.model.Model
- class dffml.cli.list.ListRecords(*args, **kwargs)[source]
List records stored in sources
- CONFIG
alias of
dffml.cli.list.ListRecordsConfig
- class dffml.cli.list.ListRecordsConfig(sources: dffml.source.source.Sources = <factory>, pretty: bool = False)[source]
- no_enforce_immutable()
By default, all properties of a config object are immutable. If you would like to mutate immutable properties, you must explicitly call this method using it as a context manager.
Examples
>>> from dffml import config >>> >>> @config ... class MyConfig: ... C: int >>> >>> config = MyConfig(C=2) >>> with config.no_enforce_immutable(): ... config.C = 1
- class dffml.cli.list.ListSources(extra_config=None, **kwargs)[source]
List installed sources
- ENTRYPOINT
alias of
dffml.source.source.BaseSource