Module fields

Description

No description yet.

Classes

ConstantFieldUsed to define config-attribute that can't be overriden
InputFieldUsed to define required config-attribute from command line input
InterfaceFieldUsed to define allowed values for a config-attribute

Functions

cli_inputReturns an InputField
constantReturns a ConstantField
fieldReturns an InterfaceField
resolve_fieldsRemoves wrapping for InterfaceFields
validate_fieldsValidates that fields has a value

Source

Line 1 in anyfig/fields.py.






Add Discussion as Guest

Log in