From 5f04d578c7d6d8b05216fd45382a0a065fda890d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stef=20Oss=C3=A9?= Date: Sun, 10 Mar 2024 20:26:50 +0100 Subject: [PATCH] linting --- backend/controllers/auth/authentication_controller.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/controllers/auth/authentication_controller.py b/backend/controllers/auth/authentication_controller.py index 3d9f374e..e6156d35 100644 --- a/backend/controllers/auth/authentication_controller.py +++ b/backend/controllers/auth/authentication_controller.py @@ -1,4 +1,4 @@ -from _elementtree import Element +from typing import TYPE_CHECKING import httpx from defusedxml.ElementTree import fromstring @@ -10,6 +10,9 @@ from domain.logic.user import get_user_with_email from domain.models.UserDataclass import UserDataclass +if TYPE_CHECKING: + from _elementtree import Element + props: Properties = Properties()