langchain.tools.openapi.utils.api_models.APIPropertyLocation¶

class langchain.tools.openapi.utils.api_models.APIPropertyLocation(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶

Bases: Enum

The location of the property.

Methods

from_str(location)

Parse an APIPropertyLocation.

Attributes

QUERY

PATH

HEADER

COOKIE

classmethod from_str(location: str) APIPropertyLocation[source]¶

Parse an APIPropertyLocation.

COOKIE = 'cookie'¶
HEADER = 'header'¶
PATH = 'path'¶
QUERY = 'query'¶