cowbird.api.swagger
Submodules
Package Contents
Functions
|
Return JSON Swagger specifications of Cowbird REST API. |
|
Swagger UI route to display the Cowbird REST API schemas. |
|
Immediately sets the logger level to avoid duplicate log outputs from the root logger and this logger when |
|
-
cowbird.api.swagger.
api_schema
(request: pyramid.request.Request) → cowbird.typedefs.JSON[source] Return JSON Swagger specifications of Cowbird REST API.
-
cowbird.api.swagger.
api_swagger
(request)[source] Swagger UI route to display the Cowbird REST API schemas.
-
cowbird.api.swagger.
get_logger
(name: str, level: Optional[int] = None, force_stdout: bool = None, message_format: Optional[str] = None, datetime_format: Optional[str] = None) → logging.Logger[source] Immediately sets the logger level to avoid duplicate log outputs from the root logger and this logger when level is
logging.NOTSET
.