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:
EnumThe location of the property.
Methods
from_str(location)Parse an APIPropertyLocation.
Attributes
- classmethod from_str(location: str) APIPropertyLocation[source]¶
Parse an APIPropertyLocation.
- COOKIE = 'cookie'¶
- HEADER = 'header'¶
- PATH = 'path'¶
- QUERY = 'query'¶