Field fallback reference

FieldFallback base class

class FieldFallback
field_present(config, field_name)

Check if a value for the named field is present in the config data.

  • configConfig instance containing config data.
  • field_name (str) – Name of the field to look up.

True if the value is present in the provided data, False otherwise.

confmodel.fallbacks module

All standard field fallback classes live here.

TODO: Write docstrings for remaining more fallbacks. TODO: Document base class separately?