langchain_core.runnables.utils.NonLocals¶

class langchain_core.runnables.utils.NonLocals[source]¶

Get nonlocal variables accessed.

Methods

__init__()

generic_visit(node)

Called if no explicit visitor function exists for a node.

visit(node)

Visit a node.

visit_Attribute(node)

visit_Constant(node)

visit_Name(node)

__init__() None[source]¶
Return type

None

generic_visit(node)¶

Called if no explicit visitor function exists for a node.

visit(node)¶

Visit a node.

visit_Attribute(node: Attribute) Any[source]¶
Parameters

node (Attribute) –

Return type

Any

visit_Constant(node)¶
visit_Name(node: Name) Any[source]¶
Parameters

node (Name) –

Return type

Any