from uvicorn.workers import UvicornWorker

from .settings import settings


class RunboatUvicornWorker(UvicornWorker):  # type: ignore
    if settings.log_config:
        UvicornWorker.CONFIG_KWARGS["log_config"] = settings.log_config

from uvicorn.workers import UvicornWorker

from .settings import settings


class RunboatUvicornWorker(UvicornWorker):  # type: ignore
    if settings.log_config:
        UvicornWorker.CONFIG_KWARGS["log_config"] = settings.log_config

# type: ignore