# mayim.extension.sanic_extension
# Table of Contents
# SanicMayimExtension
class SanicMayimExtension(Extension)
[view_source] (opens new window)
# __init__
def __init__(*,
executors: Optional[Sequence[Union[Type[Executor],
Executor]]] = None,
dsn: str = "",
hydrator: Optional[Hydrator] = None,
pool: Optional[BaseInterface] = None,
counters: Union[Default, bool] = _default)
[view_source] (opens new window)
# name
Default: "mayim"
# render_label
def render_label()
[view_source] (opens new window)
# startup
def startup(bootstrap: Extend) -> None