cbcflow.core.paramdict module¶
Classes¶
- class cbcflow.core.paramdict.ParamDict(*args, **kwargs)¶
Bases: dict
- arg_assign(name, value)¶
- copy_recursive()¶
Copy ParamDict hierarchy recursively, using copy.deepcopy() to copy values.
- items()¶
- iterdeep()¶
Iterate recursively over all parameter items.
- iteritems()¶
- iterkeys()¶
- keys()¶
- parse_args(args)¶
- pop(name, default=None)¶
Returns Paramdict[name] if the key exists. If the key does not exist the default value is returned.
- render_args()¶
- replace(params=None, **kwparams)¶
Perform a recursive update where no new keys are allowed.
- replace_recursive(params=None, **kwparams)¶
Perform a recursive update where no new keys are allowed.
- replace_shallow(params=None, **kwparams)¶
Perform a shallow update where no new keys are allowed.
- update(params=None, **kwparams)¶
Perform a recursive update, allowing new keys to be introduced.
- update_recursive(params=None, **kwparams)¶
Perform a recursive update, allowing new keys to be introduced.
- update_shallow(params=None, **kwparams)¶
Perform a shallow update, allowing new keys to be introduced.