param.parameterized.Parameters.set_dynamic_time_fn#
- Parameters.set_dynamic_time_fn(time_fn, sublistattr=None)[source]#
Set
time_fnfor allparam.DynamicParameters of this class or instance object that are currently being dynamically generated.Additionally, sets
_Dynamic_time_fn=time_fnon this class or instance object, so that any future changes to Dynamic Parmeters can inherittime_fn(e.g. if aparam.Numberis changed from a float to a number generator, the number generator will inherittime_fn).If specified, sublistattr is the name of an attribute of this class or instance that contains an iterable collection of subobjects on which
set_dynamic_time_fnshould be called. If the attribute sublistattr is present on any of the subobjects,set_dynamic_time_fn()will be called for those, too.