saealib.core.compiler.NodeRef#

class saealib.core.compiler.NodeRef(*, component_id, role=None)[source]#

Bases: object

Identify a graph node, optionally in one of its component roles.

Parameters:
  • component_id (str)

  • role (str | None)

Methods

__init__

from_value

Normalize the convenient endpoint forms accepted by the API.

Method Details

NodeRef.__init__(*, component_id, role=None)#
Parameters:
  • component_id (str)

  • role (str | None)

Return type:

None

classmethod NodeRef.from_value(value)[source]#

Normalize the convenient endpoint forms accepted by the API.

Parameters:

value (object)

Return type:

NodeRef