[tasks] Make tasks use user profile string

This commit is contained in:
2025-06-27 10:48:05 -04:00
parent 63361964ca
commit 88a3831975
4 changed files with 7 additions and 33 deletions

View File

@ -56,7 +56,7 @@ class UserProfile(TimeStampedModel):
return pytz.timezone(self.timezone)
@cached_property
def task_context_tags(self) -> list:
def task_context_tags(self) -> list[str]:
tag_list = [
t.strip().capitalize()
for t in self.task_context_tags_str.split(",")