Skip to content

GatewayConfig

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  95970871599264["field_meta.GatewayConfig"]
  125067848556736["builtins.dict"]
  125067848591872["builtins.object"]
  125067848556736 --> 95970871599264
  125067848591872 --> 125067848556736

🛈 DocStrings

Bases: TypedDict

Gateway configuration for routing API calls through a custom endpoint.

Source code in src/aclientp/schema/field_meta.py
class GatewayConfig(TypedDict):
    """Gateway configuration for routing API calls through a custom endpoint."""

    baseUrl: str
    """Base URL to send API calls to."""

    headers: dict[str, str]
    """Headers added to every API request."""

baseUrl instance-attribute

baseUrl: str

Base URL to send API calls to.

headers instance-attribute

headers: dict[str, str]

Headers added to every API request.

:fa-brands-github: Show source on GitHub