Parameter helpers#
|
For each soft bound (upper and lower), if there is a defined bound (not equal to None) and does not exceed the hard bound, then it is returned. |
|
Given a dictionary of Parameter instances, return a corresponding set of copies with the bounds appropriately set. |
|
Given a set of keyword literals, promote to the appropriate parameter type based on some simple heuristics. |
|
Given a set of Parameterized objects, returns a dictionary with the union of all param name,value pairs across them. |
|
A dictionary that returns the attribute of a specified object if that attribute is not present in itself. |