aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generalresearch/models/thl/profiling/user_question_answer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generalresearch/models/thl/profiling/user_question_answer.py b/generalresearch/models/thl/profiling/user_question_answer.py
index bef844b..9f37f96 100644
--- a/generalresearch/models/thl/profiling/user_question_answer.py
+++ b/generalresearch/models/thl/profiling/user_question_answer.py
@@ -75,7 +75,7 @@ class UserQuestionAnswer(BaseModel):
def get_mrpqs(
self, question_manager: QuestionManager
) -> Iterator[MarketplaceResearchProfileQuestion]:
- assert self.calc_answers
+ assert self.calc_answers is not None
property_codes = set(self.calc_answers.keys())
qs = question_manager.filter_by_properties_and_locale(
property_codes, country_iso=self.country_iso, language_iso=self.language_iso