leadguru-jobs 0.664.0__py3-none-any.whl → 0.665.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leadguru_jobs
3
- Version: 0.664.0
3
+ Version: 0.665.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -91,7 +91,7 @@ lgt_jobs/lgt_data/models/user/general_settings.py,sha256=lkmDbUnAIHoZ__8K85cxa9p
91
91
  lgt_jobs/lgt_data/models/user/reset_password.py,sha256=SI6z4bJEiYVNtEkDXrm6H4A5mHVUmHXTPvreQBOfwVw,172
92
92
  lgt_jobs/lgt_data/models/user/subscription.py,sha256=NIrWRmlKv3IETKwnBXMV90g_gr0N8t-7tBp7PrT0_Go,586
93
93
  lgt_jobs/lgt_data/models/user/typed_field.py,sha256=1oLIZy3GjHqJNFe9y10RPJNEOHZL2GBeK1XBvglO8Zo,130
94
- lgt_jobs/lgt_data/models/user/user.py,sha256=n4M-RXB2wpWjD4FmrsWxyxzgqdPJIMkplbj5PiZLAsA,4604
94
+ lgt_jobs/lgt_data/models/user/user.py,sha256=7MQwONRK0gj-cIQIIOXO1BciRmTMFD1WJOIIZzi8QH0,4832
95
95
  lgt_jobs/lgt_data/models/user/user_follow_ups.py,sha256=zXTvIWw_YQc7cfAaKSbPtAibP4ZWRyLMtkGHX4YUstU,972
96
96
  lgt_jobs/lgt_data/models/user/user_page.py,sha256=pBMf-HJLS-2ViMrMN-Zl_z78B5gnIOveMSTh_z6cZGw,474
97
97
  lgt_jobs/lgt_data/models/user/verification.py,sha256=xj8yqufv3RoBUcK8oEMIM15J36ClUb77wDhj292r3-U,273
@@ -104,7 +104,7 @@ lgt_jobs/lgt_data/repositories/post/posts.py,sha256=ZA19L-CYdxLhlapyMQtSJzP3QMUl
104
104
  lgt_jobs/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
105
  lgt_jobs/services/web_client.py,sha256=oMyWJxwGeIe3f40fPT7xcisjDg3BhA3Ipf8dr1jVT-Y,1549
106
106
  lgt_jobs/templates/new_message.html,sha256=dZl8UmdAOOMq4nidvAgMFroSrTV7Pw0RWt2yLp_2idg,6989
107
- leadguru_jobs-0.664.0.dist-info/METADATA,sha256=70bFpsDTZup92nYuP5Taa_5mgAEkRmbweK3T6LFD-3Y,1319
108
- leadguru_jobs-0.664.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
109
- leadguru_jobs-0.664.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
110
- leadguru_jobs-0.664.0.dist-info/RECORD,,
107
+ leadguru_jobs-0.665.0.dist-info/METADATA,sha256=oRgzsrCdnsKeWSVzr6vqEMnPWQwr-mmcYTvcJdBPoTY,1319
108
+ leadguru_jobs-0.665.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
109
+ leadguru_jobs-0.665.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
110
+ leadguru_jobs-0.665.0.dist-info/RECORD,,
@@ -51,7 +51,7 @@ class UserModel(BaseModel):
51
51
  self.general_settings: GeneralSettings | None = None
52
52
  self.company_type: TypedField | None = None
53
53
  self.usage_purpose: list[TypedField] = []
54
- self.project_awareness: str | None = None
54
+ self.project_awareness: TypedField | None = None
55
55
 
56
56
  @classmethod
57
57
  def from_dic(cls, dic: dict):
@@ -70,6 +70,7 @@ class UserModel(BaseModel):
70
70
  model.discord_users = [DiscordUser.from_dic(user) for user in dic.get('discord_users', [])]
71
71
  model.usage_purpose = [TypedField.from_dic(purpose) for purpose in dic.get('usage_purpose', [])]
72
72
  model.company_type = TypedField.from_dic(dic.get('company_type'))
73
+ model.project_awareness = TypedField.from_dic(dic.get('project_awareness'))
73
74
  model.notification_settings = NotificationSettings.from_dic(dic.get('notification_settings'))
74
75
  model.general_settings = GeneralSettings.from_dic(dic.get('general_settings'))
75
76
  return model
@@ -85,6 +86,8 @@ class UserModel(BaseModel):
85
86
  result['general_settings'] = GeneralSettings.to_dic(result.get('general_settings'))
86
87
  if result.get('company_type'):
87
88
  result['company_type'] = TypedField.to_dic(result.get('company_type'))
89
+ if result.get('project_awareness'):
90
+ result['project_awareness'] = TypedField.to_dic(result.get('project_awareness'))
88
91
  if result.get('usage_purpose'):
89
92
  result['usage_purpose'] = [TypedField.to_dic(purpose) for purpose in result.get('usage_purpose', [])]
90
93