langchain_core.runnables.utils.IsLocalDict¶

class langchain_core.runnables.utils.IsLocalDict(name: str, keys: Set[str])[source]¶

Check if a name is a local dict.

Methods

__init__(name, keys)

generic_visit(node)

Called if no explicit visitor function exists for a node.

visit(node)

Visit a node.

visit_Call(node)

visit_Constant(node)

visit_Subscript(node)

__init__(name: str, keys: Set[str]) None[source]¶
generic_visit(node)¶

Called if no explicit visitor function exists for a node.

visit(node)¶

Visit a node.

visit_Call(node: Call) Any[source]¶
visit_Constant(node)¶
visit_Subscript(node: Subscript) Any[source]¶