Toggle Menu
Prev Up Next

# `langchain_core.runnables.utils`.NonLocals

class langchain_core.runnables.utils.NonLocals

  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
    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
    Parameters

      node (Attribute) –

    Return type

      Any

  visit_Constant(node)
  visit_Name(node: Name) → Any
    Parameters

      node (Name) –

    Return type

      Any