...
Panel |
---|
>>> # This example demonstrates how to import the global logger in other Python modules.
>>> # Assume that logger is imported below in test.py that resides in the same folder as extension.py
>>> from universal_extension import logger
>>> logger.info('sample info message from test.py')
>>> logger.warning('sample warning message from test.py')
>>> logger.critical('sample critical message from test.py')
|
Universal Extension Decorator
dynamic_comman
d
(command_name)
Register a dynamic command.
Input | Parameters: command_name : str the command name |
Output | None |
dynamic_choice_command
(field_name)
Register a dynamic choice command.
Input | Parameters: field_name : str the field name |
Output | None |