Skip to main content

endpoints.endpoint

Endpoint Objects

@dataclasses.dataclass(kw_only=True, frozen=True)
class Endpoint()

Defines a simple Flask endpoint.

Attributes name: Name of the endpoint. path: Path to the endpoint. methods: List of HTTP methods. handler: Handler for the endpoint.