Skip to content

method

Method

Represents a simplified version of a method for serialization purposes.

Source code in exe_kg_lib/classes/exe_kg_serialization/method.py
 7
 8
 9
10
11
12
13
14
class Method:
    """
    Represents a simplified version of a method for serialization purposes.
    """

    def __init__(self, method_type: str, params_dict: Dict[str, Union[str, int, float, dict]]):
        self.method_type = method_type
        self.params_dict = params_dict