leadguru-jobs 0.618.0__py3-none-any.whl → 0.620.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.618.0
3
+ Version: 0.620.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -43,12 +43,12 @@ lgt_jobs/lgt_data/analytics.py,sha256=fiN88zcIxs_bRMmXL7ftp4FvBeJ5I7QBPE4tbwKJ39
43
43
  lgt_jobs/lgt_data/engine.py,sha256=Rsbz-CApAo_TVDssdjBkv8v_fVOZm_Uh1S6W4fnaEWo,7728
44
44
  lgt_jobs/lgt_data/enums.py,sha256=jXrOcpy4awVuiZ51nSncfFospg0KsBZ4UwL650_VZVg,2259
45
45
  lgt_jobs/lgt_data/helpers.py,sha256=NDa-V5EYaJfkGoWsmQSwSe6N_jxNxs8tHRQzW1iST6k,480
46
- lgt_jobs/lgt_data/model.py,sha256=yK6tuNMPiLaGrbPMc5IkBrmCY5Srr_M5-LRXGf_7dCE,33123
46
+ lgt_jobs/lgt_data/model.py,sha256=rbIrpXmubryaX79E5bPKVWTUgJVmeLDThtVUDP5tTOA,33350
47
47
  lgt_jobs/lgt_data/mongo_repository.py,sha256=SKIVxqc1u4I_uXTa3gSJRomRLt_6zKbQtLreC4EZZ8w,47111
48
48
  lgt_jobs/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  lgt_jobs/services/web_client.py,sha256=GLWsJkIC8rv6xLFaLwcMm4EwBlVDu0njORwkZqBJaE4,2086
50
50
  lgt_jobs/templates/new_message.html,sha256=dZl8UmdAOOMq4nidvAgMFroSrTV7Pw0RWt2yLp_2idg,6989
51
- leadguru_jobs-0.618.0.dist-info/METADATA,sha256=VVaovYiGZQXcky43xS7Ggqx127wwbMeOJsvvjsqv474,1319
52
- leadguru_jobs-0.618.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
53
- leadguru_jobs-0.618.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
54
- leadguru_jobs-0.618.0.dist-info/RECORD,,
51
+ leadguru_jobs-0.620.0.dist-info/METADATA,sha256=7Doi_6jRzD5KjfRi-9v9JpLHtOpYpdqnn1VDNe2PE_0,1319
52
+ leadguru_jobs-0.620.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
53
+ leadguru_jobs-0.620.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
54
+ leadguru_jobs-0.620.0.dist-info/RECORD,,
@@ -381,7 +381,7 @@ class UserModel(BaseModel):
381
381
  self.subscription_expiration_notified = False
382
382
  self.subscription_expiration_warning_notified = False
383
383
  self.notification_settings: NotificationSettings | None = None
384
- self.general_setting: GeneralSettings | None = None
384
+ self.general_settings: GeneralSettings | None = None
385
385
 
386
386
  @classmethod
387
387
  def from_dic(cls, dic: dict):
@@ -399,6 +399,7 @@ class UserModel(BaseModel):
399
399
  model.slack_users = [SlackUser.from_dic(user) for user in dic.get('slack_users', [])]
400
400
  model.discord_users = [DiscordUser.from_dic(user) for user in dic.get('discord_users', [])]
401
401
  model.notification_settings = NotificationSettings.from_dic(dic.get('notification_settings'))
402
+ model.general_settings = GeneralSettings.from_dic(dic.get('general_settings'))
402
403
  return model
403
404
 
404
405
  def to_dic(self):
@@ -408,6 +409,8 @@ class UserModel(BaseModel):
408
409
  result['slack_profile'] = result.get('slack_profile').__dict__
409
410
  if result.get('notification_settings'):
410
411
  result['notification_settings'] = NotificationSettings.to_dic(result.get('notification_settings'))
412
+ if result.get('general_settings'):
413
+ result['general_settings'] = GeneralSettings.to_dic(result.get('general_settings'))
411
414
 
412
415
  return result
413
416