Tips for developing with the DamPythonInterface tool¶
This page is used as a placeholder of tips that one can use when developing with the DamPythonInterface tool.
How to create an class instance in Python¶
The DamPythonInterface tool uses the Pydantic module to define the types of inputs a class should have. However, creating a class instance is the same as with any python class. To know more about how you can do that refer to PythonClasses were several examples are given. The first example in the Pydantic page ia also a good resource.