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_utils_pathpath_template
Function●Since v0.8

path_template

Copy
path_template(
    template: str,
    ,
    **kwargs: Any = {},
) -> str
View source on GitHub

Parameters

NameTypeDescription
template*str

The template string containing {name} placeholders.

**kwargsAny
Default:{}

Keyword arguments to interpolate into the template.

Interpolate {name} placeholders in template from keyword arguments.