generate_python#

omni.graph.tools.ogn.generate_python(
configuration: GeneratorConfiguration,
) str | None#

Create support files for the pythonic interface to a node

Parameters:

configuration – Information defining how and where the documentation will be generated

Returns:

String containing the generated Python database definition or None if its generation was not enabled

Raises:

NodeGenerationError – When there is a failure in the generation of the Python database