cowbird.api =========== .. py:module:: cowbird.api Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/cowbird/api/exception/index /autoapi/cowbird/api/generic/index /autoapi/cowbird/api/handlers/index /autoapi/cowbird/api/home/index /autoapi/cowbird/api/requests/index /autoapi/cowbird/api/schemas/index /autoapi/cowbird/api/swagger/index /autoapi/cowbird/api/webhooks/index Functions --------- .. autoapisummary:: cowbird.api.get_logger cowbird.api.includeme Package Contents ---------------- .. py:function:: get_logger(name: str, level: Optional[int] = None, force_stdout: bool = None, message_format: Optional[str] = None, datetime_format: Optional[str] = None) -> logging.Logger Immediately sets the logger level to avoid duplicate log outputs from the `root logger` and `this logger` when `level` is ``logging.NOTSET``. .. py:function:: includeme(config: pyramid.config.Configurator) -> None Include API sub-modules. Each should define an ``includeme`` function with further sub-modules to include, and every one of their relative views and routes.