Inheritance |
|
Methods ¶
reload()
Relods the underyling Python module that defines this type object. This will dirty all existing nodes as well, and cause those nodes to reset their internal copy of the Python class to match the new one in the reloaded module.
setCustomCallback(callback_name, object)
Sets a PDG node callback on the type to a particular callback Python object.
typeObject
: obj
Property
The Python class used to define this custom node callback type.
Methods from pdg.BaseType ¶
instanceCount
: int
Property
The number of instances of the type that have been created, potentially across multiple PDG graphs.
instanceMemoryUsage
: int
Property
The total memory usage of all instances of the type that have been created, potentially across multiple PDG graphs.
language
: pdg.language
Property
The language that the type object was written with, i.e. C++ or Python.
typeLabel
: str
Property
The human-readable label associated with the type. Does not necessarily have to be unique.
typeName
: str
Property
The unique, internal name for the type. Always unique.
Methods from pdg.NodeCallbackType ¶
isStaticGenerator
: bool
Property
Set to True
if this node supports static work item generation, and will
prefer to use static generation when it’s generation parameter is set to
Automatic.
template
: str
Property
The name of the node parameter template used by this node callback type.