From 0485181141682830d4a87544913ab6e0b1cba825 Mon Sep 17 00:00:00 2001 From: remyvdwereld <86827854+remyvdwereld@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:01:31 +0100 Subject: [PATCH] Moved import to top --- app/apps/health/health_checks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/apps/health/health_checks.py b/app/apps/health/health_checks.py index 8cd870c7d..bd6e9a913 100644 --- a/app/apps/health/health_checks.py +++ b/app/apps/health/health_checks.py @@ -1,6 +1,7 @@ import logging import requests +from apps.permits.api_queries_powerbrowser import PowerbrowserRequest from config.celery import debug_task from django.conf import settings from health_check.backends import BaseHealthCheckBackend @@ -281,8 +282,6 @@ class PowerBrowser(BaseHealthCheckBackend): """ def check_status(self): - from apps.permits.api_queries_powerbrowser import PowerbrowserRequest - try: response = PowerbrowserRequest().get_vergunningen_with_bag_id( settings.BAG_ID_AMSTEL_1