From a881dde4be07dc0d285c40f350b6d8268e481957 Mon Sep 17 00:00:00 2001 From: Hans Kallekleiv <16436291+HansKallekleiv@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:59:36 +0200 Subject: [PATCH] bandit --- backend_py/primary/primary/services/sumo_access/_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend_py/primary/primary/services/sumo_access/_helpers.py b/backend_py/primary/primary/services/sumo_access/_helpers.py index f0eb958c7..b460c1e20 100644 --- a/backend_py/primary/primary/services/sumo_access/_helpers.py +++ b/backend_py/primary/primary/services/sumo_access/_helpers.py @@ -11,7 +11,7 @@ def create_sumo_client(access_token: str) -> SumoClient: - if access_token == "DUMMY_TOKEN_FOR_TESTING": + if access_token == "DUMMY_TOKEN_FOR_TESTING": # nosec bandit B105 sumo_client = SumoClient(env=config.SUMO_ENV, interactive=False) else: sumo_client = SumoClient(env=config.SUMO_ENV, token=access_token, interactive=False)