aboutsummaryrefslogtreecommitdiff
path: root/generalresearch/managers/thl/profiling
diff options
context:
space:
mode:
Diffstat (limited to 'generalresearch/managers/thl/profiling')
-rw-r--r--generalresearch/managers/thl/profiling/question.py2
-rw-r--r--generalresearch/managers/thl/profiling/uqa.py2
-rw-r--r--generalresearch/managers/thl/profiling/user_upk.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/generalresearch/managers/thl/profiling/question.py b/generalresearch/managers/thl/profiling/question.py
index 10a9e32..078894a 100644
--- a/generalresearch/managers/thl/profiling/question.py
+++ b/generalresearch/managers/thl/profiling/question.py
@@ -85,7 +85,7 @@ class QuestionManager(PostgresManager):
def lookup_by_property(
self, property_code: str, country_iso: str, language_iso: str
) -> UpkQuestion:
- query = f"""
+ query = """
SELECT data, property_code, explanation_template, explanation_fragment_template
FROM marketplace_question
WHERE property_code = %(property_code)s
diff --git a/generalresearch/managers/thl/profiling/uqa.py b/generalresearch/managers/thl/profiling/uqa.py
index 3854333..fa1747b 100644
--- a/generalresearch/managers/thl/profiling/uqa.py
+++ b/generalresearch/managers/thl/profiling/uqa.py
@@ -2,7 +2,7 @@ from __future__ import annotations
import logging
from collections.abc import Collection
-from datetime import datetime, timedelta, timezone, UTC
+from datetime import UTC, datetime, timedelta
from generalresearch.managers.base import PostgresManagerWithRedis
from generalresearch.models.thl.profiling.user_question_answer import (
diff --git a/generalresearch/managers/thl/profiling/user_upk.py b/generalresearch/managers/thl/profiling/user_upk.py
index ee36124..a2cddb3 100644
--- a/generalresearch/managers/thl/profiling/user_upk.py
+++ b/generalresearch/managers/thl/profiling/user_upk.py
@@ -3,7 +3,7 @@ from __future__ import annotations
import json
from collections import defaultdict
from collections.abc import Collection
-from datetime import datetime, timedelta, timezone, UTC
+from datetime import UTC, datetime, timedelta
from typing import Any
from uuid import UUID