leadguru-jobs 0.629.0__py3-none-any.whl → 0.630.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.629.0
3
+ Version: 0.630.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -45,11 +45,11 @@ lgt_jobs/lgt_data/helpers.py,sha256=S_1P7pnx14dllmen-TzjA9pkKWQr39x8-v6iv7FUYnQ,
45
45
  lgt_jobs/lgt_data/model.py,sha256=ZBrkUJf7agbqASTEejN5gbL1Q5L2S15KPgVNT0J2X2M,34498
46
46
  lgt_jobs/lgt_data/mongo_repository.py,sha256=RVnpPqsozpHN2rBzH73xQUgfqnXUTzb505RGLXZoT5c,47284
47
47
  lgt_jobs/lgt_data/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- lgt_jobs/lgt_data/models/message_request.py,sha256=yL4dUY_3UQNMnaVwub1bwPnLNT7o1bToShaamVprjvo,552
48
+ lgt_jobs/lgt_data/models/message_request.py,sha256=3kzFkpinOvIeTu1ViZrhU__eHKeh-YJuZFv5ELkotpY,446
49
49
  lgt_jobs/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  lgt_jobs/services/web_client.py,sha256=oMyWJxwGeIe3f40fPT7xcisjDg3BhA3Ipf8dr1jVT-Y,1549
51
51
  lgt_jobs/templates/new_message.html,sha256=dZl8UmdAOOMq4nidvAgMFroSrTV7Pw0RWt2yLp_2idg,6989
52
- leadguru_jobs-0.629.0.dist-info/METADATA,sha256=k0ZuLye9xe3lRGn24ca9LKVxgbJAidxHgBSuTCc23aA,1319
53
- leadguru_jobs-0.629.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
54
- leadguru_jobs-0.629.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
55
- leadguru_jobs-0.629.0.dist-info/RECORD,,
52
+ leadguru_jobs-0.630.0.dist-info/METADATA,sha256=A2Jb3wi3YtLNkV9Tnmb98Ef3Bt3QpJhqT3Quvu6g8qc,1319
53
+ leadguru_jobs-0.630.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
54
+ leadguru_jobs-0.630.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
55
+ leadguru_jobs-0.630.0.dist-info/RECORD,,
@@ -1,14 +1,14 @@
1
- from lgt_jobs.lgt_data.enums import SourceType
2
1
  from lgt_jobs.lgt_data.model import ChatMessage, DedicatedBotModel
3
2
 
4
3
 
5
4
  class MessageRequest(ChatMessage):
6
- hidden: bool = False
7
- source_type: SourceType
5
+ hidden: bool
6
+
7
+ def __init__(self):
8
+ super().__init__()
9
+ self.hidden = False
8
10
 
9
11
  @classmethod
10
12
  def from_slack_response(cls, bot: DedicatedBotModel, message_data: dict, sender_id: str):
11
13
  message = super().from_slack_response(bot, message_data, sender_id)
12
- message_request = MessageRequest.from_dic(message.to_dic())
13
- message_request.source_type = bot.source.source_type
14
- return message_request
14
+ return MessageRequest.from_dic(message.to_dic())