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_clientLangsmithcopy
Method●Since v0.8

copy

Copy
copy(
  self,
  *,
  api_key: str | None = None,
  tenant_id: str
View source on GitHub
|
None
=
None
,
base_url
:
str
|
httpx
.
URL
|
None
=
None
,
timeout
:
float
|
Timeout
|
None
|
NotGiven
=
not_given
,
http_client
:
httpx
.
Client
|
None
=
None
,
max_retries
:
int
|
NotGiven
=
not_given
,
default_headers
:
Mapping
[
str
,
str
]
|
None
=
None
,
set_default_headers
:
Mapping
[
str
,
str
]
|
None
=
None
,
default_query
:
Mapping
[
str
,
object
]
|
None
=
None
,
set_default_query
:
Mapping
[
str
,
object
]
|
None
=
None
,
_extra_kwargs
:
Mapping
[
str
,
Any
]
=
{
}
)
->
Self

Create a new client instance re-using the same options given to the current client with optional overriding.