param.CalendarDateRange#
- class param.CalendarDateRange(default=None, *, bounds=None, softbounds=None, inclusive_bounds=(True, True), step=None, length=None, doc=None, label=None, precedence=None, instantiate=False, constant=False, readonly=False, pickle_default_value=True, allow_None=False, per_instance=True, allow_refs=False, nested_refs=False, default_factory=None, metadata=None)[source]#
A date range specified as
(start_date, end_date).- __init__(default=<Undefined>, *, bounds=<Undefined>, softbounds=<Undefined>, inclusive_bounds=<Undefined>, step=<Undefined>, **params)[source]#
Initialize a tuple parameter with a fixed length (number of elements). The length is determined by the initial default value, if any, and must be supplied explicitly otherwise. The length is not allowed to change after instantiation.
Methods
__init__([default, bounds, softbounds, ...])Initialize a tuple parameter with a fixed length (number of elements).
deserialize(value)Given a serializable Python value, return a value that the parameter can be set to.
get_soft_bounds()rangestr()schema([safe, subset, mode])Generate a schema for the parameters of the
Parameterizedobject.serialize(value)Given the parameter value, return a Python value suitable for serialization.
Attributes
allow_Noneallow_refsboundsconstantdefaultdefault_factorydocinclusive_boundsinstantiatelabelGet the label for this parameter.
lengthmetadatanamenested_refsownerper_instancepickle_default_valueprecedencereadonlyrxThe reactive operations namespace.
softboundsstepwatchers