langchain_core.runnables.utils.GetLambdaSource¶
class langchain_core.runnables.utils.GetLambdaSource[source]¶
Get the source code of a lambda function.
Initialize the visitor.
Methods
__init__()
Initialize the visitor.
generic_visit(node)
Called if no explicit visitor function exists for a node.
visit(node)
Visit a node.
visit_Constant(node)
visit_Lambda(node)
Visit a lambda function.
__init__() → None[source]¶
Initialize the visitor.
generic_visit(node)¶
Called if no explicit visitor function exists for a node.
visit(node)¶
Visit a node.
visit_Constant(node)¶
visit_Lambda(node: Lambda) → Any[source]¶
Visit a lambda function.