rl_set_default#
- rateslib_pyxll.replicators.rl_set_default(attribute, value, key=None)#
Set values for the rateslib.defaults object.
Good practice will only set defaults values at the start of an application and not mutate the defaults object mid-application.
- Parameters:
attribute (str) – The attribute name of the defaults object to modify.
value (Any) – The value to associate with the object.
key (Any) – If the attribute refers to a dict this is the key to which the value is assigned. Ignored if the attribute is not a dict.
- Return type:
object