INodeFactory
- class constructs.INodeFactory(*args, **kwargs)
Bases:
Protocol
A factory for attaching ``Node``s to the construct.
Methods
- create_node(host, scope, id)
Returns a new
Node
associated withhost
.- Parameters:
host (
Construct
) – the associated construct.scope (
IConstruct
) – the construct’s scope (parent).id (
str
) – the construct id.
- Return type: