netunicorn.base.types.NodeRepresentation

class NodeRepresentation[source]

Bases: TypedDict

Node JSON representation.

Attributes

name

Node name.

properties

Node properties.

additional_properties

Internal node properties.

architecture

Node architecture.

Methods

fromkeys

Create a new dictionary with keys from iterable and values set to value.

name: str[source]

Node name.

properties: Dict[str, Union[str, float, int, Set[str], None]][source]

Node properties.

additional_properties: Dict[str, Union[str, float, int, Set[str], None]][source]

Internal node properties.

architecture: str[source]

Node architecture.