leadguru-jobs 0.524.0__py3-none-any.whl → 0.525.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.524.0
3
+ Version: 0.525.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -43,11 +43,11 @@ lgt_jobs/lgt_data/engine.py,sha256=YJYEAj1Z4_XIhPMaoB7bp8x9ponANBzw7gZRrj6c-c4,8
43
43
  lgt_jobs/lgt_data/enums.py,sha256=p54wjKBWz8behNZGnfsPI-sq9ELwbk9HlP7t3N9USuA,2471
44
44
  lgt_jobs/lgt_data/helpers.py,sha256=NDa-V5EYaJfkGoWsmQSwSe6N_jxNxs8tHRQzW1iST6k,480
45
45
  lgt_jobs/lgt_data/model.py,sha256=ZXJHbsQ-BgH09o9siw5yqKNWqQSymsOQ5HH8nKFeACQ,29312
46
- lgt_jobs/lgt_data/mongo_repository.py,sha256=h3xA2AvqHaiQfl4vg88SdOKBczJ0P6bpkZYuHl4wMIo,47587
46
+ lgt_jobs/lgt_data/mongo_repository.py,sha256=qtkTY9sMlIyFxy3qRiPN6zS-MdAtfvkytHfKcymR4h8,47701
47
47
  lgt_jobs/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  lgt_jobs/services/web_client.py,sha256=GLWsJkIC8rv6xLFaLwcMm4EwBlVDu0njORwkZqBJaE4,2086
49
49
  lgt_jobs/templates/new_message.html,sha256=BD_E90akmQ1Wf07wtZAjeK_7DUKRmja5HFHVo_AKI24,6994
50
- leadguru_jobs-0.524.0.dist-info/METADATA,sha256=R0ob74gyPXqBKz4iGe4-O7Ie6ynnlQ4rxis3aHdJ8Ds,1319
51
- leadguru_jobs-0.524.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
- leadguru_jobs-0.524.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
53
- leadguru_jobs-0.524.0.dist-info/RECORD,,
50
+ leadguru_jobs-0.525.0.dist-info/METADATA,sha256=3Ua_n1JqVEOa1el_jtYpQYHgb93EuYG04mITbbbrzqA,1319
51
+ leadguru_jobs-0.525.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
+ leadguru_jobs-0.525.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
53
+ leadguru_jobs-0.525.0.dist-info/RECORD,,
@@ -1281,9 +1281,12 @@ class SubscriptionsRepository(BaseMongoRepository):
1281
1281
  pipeline = {}
1282
1282
  subscription_id = kwargs.get('id')
1283
1283
  trial = kwargs.get('trial')
1284
+ expired = kwargs.get('expired')
1284
1285
  if subscription_id:
1285
1286
  pipeline['_id'] = to_object_id(subscription_id)
1286
1287
  if trial is not None:
1287
1288
  pipeline['trial'] = trial
1289
+ if expired is not None:
1290
+ pipeline['expired'] = expired
1288
1291
 
1289
1292
  return Subscription.from_dic(self.collection().find_one(pipeline))