LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-corecallbacksmanagerBaseRunManager
    Class●Since v0.1

    BaseRunManager

    Copy
    BaseRunManager(
      self,
      *,
      run_id: UUID,
      handlers: list[BaseCallbackHandler],
      

    Bases

    RunManagerMixin

    Constructors

    Attributes

    Methods

    Inherited fromRunManagerMixin

    Methods

    Mon_text
    —

    Run on an arbitrary text.

    Mon_retry
    —

    Run on a retry event.

    Mon_custom_event
    —

    Override to define a handler for a custom event.

    View source on GitHub
    inheritable_handlers
    :
    list
    [
    BaseCallbackHandler
    ]
    ,
    parent_run_id
    :
    UUID
    |
    None
    =
    None
    ,
    tags
    :
    list
    [
    str
    ]
    |
    None
    =
    None
    ,
    inheritable_tags
    :
    list
    [
    str
    ]
    |
    None
    =
    None
    ,
    metadata
    :
    dict
    [
    str
    ,
    Any
    ]
    |
    None
    =
    None
    ,
    inheritable_metadata
    :
    dict
    [
    str
    ,
    Any
    ]
    |
    None
    =
    None
    )

    Parameters

    NameTypeDescription
    run_id*UUID

    The ID of the run.

    handlers*list[BaseCallbackHandler]

    The list of handlers.

    inheritable_handlers*list[BaseCallbackHandler]

    The list of inheritable handlers.

    parent_run_idUUID | None
    Default:None
    tagslist[str] | None
    Default:None
    inheritable_tagslist[str] | None
    Default:None
    metadatadict[str, Any] | None
    Default:None
    inheritable_metadatadict[str, Any] | None
    Default:None
    constructor
    __init__
    NameType
    run_idUUID
    handlerslist[BaseCallbackHandler]
    inheritable_handlerslist[BaseCallbackHandler]
    parent_run_idUUID | None
    tagslist[str] | None
    inheritable_tagslist[str] | None
    metadatadict[str, Any] | None
    inheritable_metadatadict[str, Any] | None
    attribute
    run_id: run_id
    attribute
    handlers: handlers
    attribute
    inheritable_handlers: inheritable_handlers
    attribute
    parent_run_id: parent_run_id
    attribute
    tags
    attribute
    inheritable_tags
    attribute
    metadata
    attribute
    inheritable_metadata
    method
    get_noop_manager

    Return a manager that doesn't perform any operations.

    Base class for run manager (a bound callback manager).

    The ID of the parent run.

    The list of tags.

    The list of inheritable tags.

    The metadata.

    The inheritable metadata.