cornice

Attributes

ViewCallableParam

ViewCallableType

ViewCallableDecorator

ViewCallableService

Classes

Service

Package Contents

cornice.ViewCallableParam[source]
cornice.ViewCallableType[source]
cornice.ViewCallableDecorator[source]
cornice.ViewCallableService[source]
class cornice.Service(name: str, path: str | None = None, description: str | None = None, cors_policy: Dict[str, str] = None, pyramid_route: str | None = None, depth: int = 1, **kwargs: Any)[source]
property name: str[source]
property path: str[source]
static head(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]
static get(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]
static put(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]
static post(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]
static patch(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]
static delete(*, response_schemas: Dict[str, colander.SchemaNode], schema: colander.SchemaNode | None = None, tags: List[str] | None = None, api_security: cowbird.typedefs.JSON | None = None) ViewCallableService[source]