omni.graph.tools Functions

Functions Summary:

DeprecatedClass

Decorator to deprecate a class.

DeprecatedImport

Decorator to deprecate a specific file or module import. Usually the functionality has been deprecated and

RenamedClass

Syntactic sugar to provide a class deprecation that is a simple renaming, where all of the functions in

build_directory_metadata

Find all of the node type metadata that can be found in the given directory.

deprecated_constant_object

Class that lets you show a warning or error when attempting to use a deprecated constant object.

deprecated_function

Decorator to deprecate a function.

destroy_property

Call the destroy method on a property and set it to None - helps with garbage collection

function_trace

Debugging decorator that adds function call tracing, potentially gated by an environment variable.

get_node_type_names_from_metadata

Extract the list of fully qualified node type names from the generated metadata

import_tests_in_directory

Find all of the .ogn-generated tests in a module’s directory and import them into that module.

shorten_string_lines_to

Convert a single long line into a list of shorter lines

supported_attribute_type_names