From cc01280f68f900c66068fae5129122b298e49922 Mon Sep 17 00:00:00 2001 From: Caroline Hatwell Date: Thu, 20 Aug 2026 15:42:47 +0100 Subject: [PATCH] test: fix ONE issue --- sandbox/api/get_consent.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sandbox/api/get_consent.py b/sandbox/api/get_consent.py index 68cee8de..c94a3948 100644 --- a/sandbox/api/get_consent.py +++ b/sandbox/api/get_consent.py @@ -1,5 +1,4 @@ from logging import INFO, basicConfig, getLogger -from typing import Union from flask import request @@ -36,11 +35,11 @@ logger = getLogger(__name__) -def get_consent_response() -> Union[dict, tuple]: +def get_consent_response() -> dict | tuple: """Sandbox API for GET /Consent Returns: - Union[dict, tuple]: Response for GET /Consent + dict | tuple: Response for GET /Consent """ try: # Check Headers