MCPcopy Create free account
hub / github.com/NTNU-IHB/PythonFMU / __init__

Method __init__

pythonfmu/tests/test_variables.py:134–137  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

132 class PySlave(Fmi2Slave):
133
134 def __init__(self, **kwargs):
135 super().__init__(**kwargs)
136 setattr(self, "var", value)
137 self.register_variable(var_obj)
138
139 def do_step(self, current_time: float, step_size: float):
140 return True

Callers

nothing calls this directly

Calls 2

register_variableMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected