Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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_command(command_name)

Register a dynamic command.

InputParameters:command_name : strthe command name
OutputNone

dynamic_choice_command(field_name)

Register a dynamic choice command.

Input

Parameters:

field_name : strthe field name
OutputNone