openrig.maya.core.ports module

Port declarations for the solution connection system.

InputPort and OutputPort define the connection points between solutions. Types are advisory strings — not enforced at runtime, used for documentation and tooling warnings only.

class openrig.maya.core.ports.InputPort(name: str, type: str, required: bool = True, description: str = '')[source]

Bases: object

Declares a value that a solution needs from another solution.

Parameters:
  • name – Unique port identifier within the solution.

  • type – Advisory type string (e.g. "node", "transform", "joint").

  • required – If True, the build fails before touching Maya when no connection is declared for this port.

  • description – Human-readable description of what this input expects.

name: str
type: str
required: bool = True
description: str = ''
class openrig.maya.core.ports.OutputPort(name: str, type: str, description: str = '')[source]

Bases: object

Declares a value that a solution produces for other solutions.

Parameters:
  • name – Unique port identifier within the solution.

  • type – Advisory type string (e.g. "node", "transform", "joint").

  • description – Human-readable description of what this output provides.

name: str
type: str
description: str = ''