gatelogue_aggregator.types.node.base.Node
- class gatelogue_aggregator.types.node.base.Node(*, i: ID = None, source: set[str] = <factory>)
Bases:
Node
,Mergeable
,Struct
,Generic
- __init__()
Methods
NS
()__init__
()connect
(ctx, node[, value, source])connect_one
(ctx, node[, value, source])disconnect
(ctx, node)equivalent
(ctx, other)export
(ctx)get_all
(ctx, ty[, conn_ty])get_all_id
(ctx, ty[, conn_ty])get_edge
(ctx, node[, ty])get_edges
(ctx, node[, ty])get_one
(ctx, ty[, conn_ty])get_one_id
(ctx, ty[, conn_ty])merge
(ctx, other)merge_attrs
(ctx, other)merge_if_equivalent
(ctx, other)merge_key
(ctx)merge_lists
(ctx, self, other)new
(ctx, **kwargs)process_code
(s)ref
(ctx)str_ctx
(_ctx)Attributes
The ID of the node
All sources that prove the node's existence
- classmethod NS()
- acceptable_list_node_types()
- acceptable_single_node_types()
- export(ctx: CTX) gt.Node
- i: ID
The ID of the node
- merge(ctx: CTX, other: Self)
- merge_attrs(ctx: CTX, other: Self)
- classmethod new(ctx: CTX, **kwargs) Self
- static process_code(s: T) T
- sanitise_strings()