Module implementing the parameter types code.
Function |
|
Build description for combinating operator. |
Function |
|
Builds wrapper for adding comment to description text. |
Function |
|
Returns an empty dict. |
Function |
|
Returns an empty list. |
Function |
|
Enclose text in parens if necessary. |
Function |
|
Combine multiple functions using an AND operation. |
Function |
|
Accepts any value. |
Function |
|
Checks if the given value is a boolean. |
Function |
|
Checks if the given value is a dictionary. |
Function |
|
Checks a dict type for the type of its key/values. |
Function |
|
Builds a function that checks if a given value is a member of a list. |
Function |
|
Checks if the given value is a float. |
Function |
|
Checks if a given value is an instance of cls. |
Function |
|
Checks if the given value is an integer. |
Function |
|
Check is the given container is of the given size. |
Function |
|
Checks individual items of a container. |
Function |
|
Checks if the given value is a list. |
Function |
|
Checks if a given value is a list with all elements of the same type. |
Function |
|
Checks that a modified version of the argument passes the given test. |
Function |
|
Wrap a test in a TOr(TNone, test). |
Function |
|
Used for unsetting values. |
Function |
|
Checks if the given value is None. |
Function |
|
Undocumented |
Function |
|
Checks if the given value is not None. |
Function |
|
Undocumented |
Function |
|
Helper to generate type checks for objects. |
Function |
|
Combine multiple functions using an OR operation. |
Function |
|
Undocumented |
Function |
|
Checks if a given value is an instance of Private. |
Function |
|
Checks whether a string matches a specific regular expression. |
Function |
|
Checks if a given value is an instance of Private. |
Function |
|
Checks if a given value is a list with all elements of the same type and eliminates duplicated elements. |
Function |
|
Generates a check for modification lists. |
Function |
|
Builds a function that checks if a given value is a valid storage type. |
Function |
|
Strict dictionary check with specific keys. |
Function |
|
Checks if the given value is a string. |
Function |
|
Checks if a given value evaluates to a boolean True value. |
Function |
|
Checks if the given value is a tuple. |
Function |
|
Checks if a given value is a list with the proper size and its elements match the given types. |
Function |
|
Checks if the given value is constants.VALUE_NONE . |
Function |
|
Builds wrapper class with description text. |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Class | _ |
Wrapper class for comment. |
Class | _ |
Wrapper class for description text. |
Class | _ |
No class docstring; 0/2 instance variable, 0/1 class variable, 1/2 method documented |
Function | _ |
Ensure a given CIDR notation type is valid. |
Function | _ |
Ensure a given CIDR notation type is valid. |
Function | _ |
Ensure a given CIDR notation type is valid. |
Function | _ |
Ensure a given CIDR notation type is valid. |
Function | _ |
Helper function for TStrictDict . |
Constant | _PAREN |
Undocumented |
Build description for combinating operator.
Parameters | |
op:string | Operator as text (e.g. "and") |
args:list | Operator arguments |
fn:callable | Wrapped function |
Builds wrapper for adding comment to description text.
Parameters | |
text:string | Comment text |
Returns | |
Callable class |
Checks if the given value is a dictionary.
Note that PrivateDict
s subclass dict and pass this check.
Checks individual items of a container.
If the verified value and the list of expected items differ in length, this check considers only as many items as are contained in the shorter list. Use TIsLength
to enforce a certain length.
Parameters | |
items:list | List of checks |
Helper to generate type checks for objects.
Parameters | |
obj | The object to generate type checks |
fields | The fields and their types as a dict |
Returns | |
A ht type check function |
Checks whether a string matches a specific regular expression.
Parameters | |
pobj | Compiled regular expression as returned by re.compile |
Checks if a given value is an instance of Private.
However, the type is named Secret in the Haskell equivalent.
Checks if a given value is a list with all elements of the same type and eliminates duplicated elements.
Strict dictionary check with specific keys.
Parameters | |
require | Whether all keys in items are required |
exclusive:boolean | Whether only keys listed in items should be accepted |
items:dictionary | Mapping from key (string) to verification function |
Builds wrapper class with description text.
Parameters | |
text:string | Description text |
Returns | |
Callable class |