Skip to content

Commit

Permalink
rm constant
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 1, 2024
1 parent 09bb142 commit ad83f22
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
error_middleware_factory,
)

from .._constants import APP_SETTINGS_KEY
from .._meta import API_VTAG
from ..security.plugin import setup_security
from . import _handlers
Expand All @@ -38,10 +37,6 @@ def setup_rest(app: web.Application):

setup_security(app)

is_diagnostics_enabled: bool = (
app[APP_SETTINGS_KEY].WEBSERVER_DIAGNOSTICS is not None
)

spec_path = get_openapi_specs_path(api_version_dir=API_VTAG)

app[HealthCheck.__name__] = HealthCheck(app)
Expand Down

0 comments on commit ad83f22

Please sign in to comment.