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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmith_openapi_client_modelsFinalRequestOptions
Class●Since v0.8

FinalRequestOptions

Copy
FinalRequestOptions()

Bases

pydantic.BaseModel

Attributes

Methods

Classes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]

Methods

Mto_dict
—

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

Mto_json
—

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

View source on GitHub
M
model_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

attribute
method: str
attribute
url: str
attribute
params: Query
attribute
headers: Union[Headers, NotGiven]
attribute
max_retries: Union[int, NotGiven]
attribute
timeout: Union[float, Timeout, None, NotGiven]
attribute
files: Union[HttpxRequestFiles, None]
attribute
idempotency_key: Union[str, None]
attribute
post_parser: Union[Callable[[Any], Any], NotGiven]
attribute
follow_redirects: Union[bool, None]
attribute
content: Union[bytes, bytearray, IO[bytes], Iterable[bytes], AsyncIterable[bytes], None]
attribute
json_data: Union[Body, None]
attribute
extra_json: Union[AnyMapping, None]
attribute
model_config: ConfigDict
attribute
model_construct: construct
method
get_max_retries
method
construct
class
Config