Param¶
- class scooch.Param(param_type, default=ParamDefaults.NO_DEFAULT, doc='')¶
A Param that is an attribute of a Configurable, this can be a simple type, or a Configurable type itself. For example, simple types include ints, floats, strings, or lists and dicts thereof, and Configurable types are any class that inherits from Configurable.
Constructor
- Args:
param_type: object - The type of this parameter.
default: object - The value of this Param, if it is not set in the scooch Config. This argument defaults to ParamDefaults.NO_DEFAULT, which will result in an error if the Param is missing from the scooch Config.
doc: str - Docs describing what this param does in the context of its encapsulating Configurable class.
- property default¶
- property doc¶
- property type¶