booldog.utils.decorators
See: https://realpython.com/primer-on-python-decorators/
Functions
|
Print the runtime of the decorated function |
|
Print the function signature and return value |
|
Silence the standard output of the decorated function. |
|
Decorator to validate node arguments for Boolean network methods. |
Module Contents
- booldog.utils.decorators.timer(func)
Print the runtime of the decorated function
- booldog.utils.decorators.debug(func)
Print the function signature and return value
- booldog.utils.decorators.silence_stdout(func)
Silence the standard output of the decorated function.
- booldog.utils.decorators.validate_node_argument(func)
Decorator to validate node arguments for Boolean network methods.