MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / PortInfo

Class PortInfo

python/Scripts/comparenodedefs.py:141–146  ·  view source on GitHub ↗

Information about an input or output port from the specification.

Source from the content-addressed store, hash-verified

139
140@dataclass
141class PortInfo:
142 '''Information about an input or output port from the specification.'''
143 name: str
144 types: set = field(default_factory=set)
145 typeRef: str = None # For "Same as X" references
146 default: str = None # Spec default string (before type-specific expansion)
147
148@dataclass(frozen=True)
149class NodeSignature:

Callers 1

parseSpecDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected