LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypescommit_with_lookupsCommitWithLookups
Class●Since v0.15

CommitWithLookups

Copy
CommitWithLookups()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

Mconstruct
Mmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
id: Optional[str]
attribute
commit_hash: Optional[str]
attribute
created_at: Optional[datetime]
attribute
description: Optional[str]
attribute
example_run_ids: Optional[List[str]]
attribute
full_name: Optional[str]
attribute
manifest: Optional[object]
attribute
manifest_sha: Optional[str]
attribute
num_downloads: Optional[int]
attribute
num_views: Optional[int]
attribute
parent_commit_hash: Optional[str]
attribute
parent_id: Optional[str]
attribute
repo_id: Optional[str]
attribute
updated_at: Optional[datetime]

The commit ID

The hash of the commit

When the commit was created

Optional human-readable description for the commit

Example run IDs associated with the commit

Author's full name

The manifest of the commit

The base64-encoded SHA-256 of the manifest

Number of API downloads

Number of web views

The hash of the parent commit

The ID of the parent commit

Repository ID

When the commit was last updated