diff options
| author | stuppie | 2026-10-26 16:12:00 -0600 |
|---|---|---|
| committer | stuppie | 2026-10-26 16:12:00 -0600 |
| commit | e65fa1f1f8fdeede078c4af1849ee98306c4a1fb (patch) | |
| tree | 7682c8e75ebcf7ca8901479766efda67d07d13b2 | |
| parent | 23782c0e772400ce51a1ddd0816e21ed51e506d1 (diff) | |
| download | generalresearch-e65fa1f1f8fdeede078c4af1849ee98306c4a1fb.tar.gz generalresearch-e65fa1f1f8fdeede078c4af1849ee98306c4a1fb.zip | |
UserQuestionAnswer get_mrpqs fix bug
| -rw-r--r-- | generalresearch/models/thl/profiling/user_question_answer.py | 2 |
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 |
