leadguru-jobs 0.564.0__py3-none-any.whl → 0.565.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.564.0
3
+ Version: 0.565.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -44,11 +44,11 @@ lgt_jobs/lgt_data/engine.py,sha256=Rsbz-CApAo_TVDssdjBkv8v_fVOZm_Uh1S6W4fnaEWo,7
44
44
  lgt_jobs/lgt_data/enums.py,sha256=jBH5WGBtDAvFrh4iiPIzlQ-XrImMpuwqstuasG55mJ0,2209
45
45
  lgt_jobs/lgt_data/helpers.py,sha256=NDa-V5EYaJfkGoWsmQSwSe6N_jxNxs8tHRQzW1iST6k,480
46
46
  lgt_jobs/lgt_data/model.py,sha256=BtVpJC_TRXUOklpzwRiDywyuKCCV2GGXtjsRYcPibDc,28454
47
- lgt_jobs/lgt_data/mongo_repository.py,sha256=wdhslZTfTU-3Ad4Gm8NVl9HZFM5aK_vgG47EqNQBARk,45179
47
+ lgt_jobs/lgt_data/mongo_repository.py,sha256=uauWpv5QIGGElc_fmGFPSTcLTN_NF3HYUFGVQqyLtwg,45293
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=BD_E90akmQ1Wf07wtZAjeK_7DUKRmja5HFHVo_AKI24,6994
51
- leadguru_jobs-0.564.0.dist-info/METADATA,sha256=zUJWfUtlRCENXNuDciV3gCHhSe2LYFTrKXHPgVg71as,1319
52
- leadguru_jobs-0.564.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
- leadguru_jobs-0.564.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
54
- leadguru_jobs-0.564.0.dist-info/RECORD,,
51
+ leadguru_jobs-0.565.0.dist-info/METADATA,sha256=bQN_wiBOnKpoUIFCQtFB-e2nT5Rh74VQF2ZfKHqGFfc,1319
52
+ leadguru_jobs-0.565.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
+ leadguru_jobs-0.565.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
54
+ leadguru_jobs-0.565.0.dist-info/RECORD,,
@@ -902,11 +902,15 @@ class SlackContactUserRepository(BaseMongoRepository):
902
902
  def find(self, text: Optional[str] = None, skip: int = 0, limit: int = 1000, **kwargs):
903
903
  pipeline = {}
904
904
 
905
+ source_id = kwargs.pop("source_id")
905
906
  users = kwargs.pop("users")
906
- presence_updated_at = kwargs.pop("online_updated_at", None)
907
+ presence_updated_at = kwargs.pop("online_updated_at")
907
908
  if text:
908
909
  pipeline['$text'] = {'$search': text}
909
910
 
911
+ if source_id:
912
+ pipeline['source.source_id'] = source_id
913
+
910
914
  if users:
911
915
  pipeline['sender_id'] = {'$in': users}
912
916