Module ploigos_step_runner.utils.reflection

Shared utilities for dealing with Python reflection.

Functions

def import_and_get_class(module_name, class_name)

Dynamically loads a class from a given module.

Parameters

module_name : str
Name of the module to load the class from.
class_name : str
Name of the class to load from the given module.

Returns

class or None
The class from the the given module, or none if given class does not exist in given module.