epok-toolkit 1.0.0__py3-none-any.whl → 1.1.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.

Potentially problematic release.


This version of epok-toolkit might be problematic. Click here for more details.

@@ -1 +1 @@
1
- from .whatsapp_instanced import send_whatsapp_message
1
+ from .whatsapp_instanced import send_text
@@ -17,6 +17,8 @@ client = WhatsappClient(api_key=API_KEY, server_url=SERVER_URL, instance_name=IN
17
17
  max_retries=3,
18
18
  ignore_result=True, # <-- ¡importante!
19
19
  )
20
- def send_whatsapp_message(number: str, message: str):
20
+ def send_whatsapp_message_async(number: str, message: str):
21
21
  return client.send_text(number, message)
22
22
 
23
+ def send_text(number: str, message: str):
24
+ send_whatsapp_message_async.delay(number, message)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: epok-toolkit
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: A toolkit for building Django applications with Celery support
5
5
  Author-email: Fernando Leon Franco <fernanlee2131@gmail.com>
6
6
  License: MIT
@@ -5,13 +5,13 @@ epok_toolkit/email/__init__.py,sha256=pyJwysyVoq6DuYAG72fulsKFoOuAfjw3aBH7FhmYGH
5
5
  epok_toolkit/email/email_async.py,sha256=oC0WowWNUpTpXdxo6hJag5gWUaStxI6VBEArEKQxXko,1521
6
6
  epok_toolkit/email/engine.py,sha256=IIifqRI9z76pHdrO5oSSZ25aP5txOTAgrj1JuVVPlMY,2387
7
7
  epok_toolkit/email/templates.py,sha256=uO3gYn2iiGxcjxioaG066gGPts1m-3C1Gp7XatGgVOg,7578
8
- epok_toolkit/messaging/__init__.py,sha256=kO7-PTlYLqxeuouqjp_3hqV0aVMosOAMMLh6h7HSBjA,53
8
+ epok_toolkit/messaging/__init__.py,sha256=AL9bL5fmVZx3ZvdzBWaVgvBJVnRuyYzrCp13txNTc3Q,41
9
9
  epok_toolkit/messaging/whatsapp.py,sha256=TrMSiKzvnhWOotSDEGil1BGgOJ7jLK7h3MXKdW3zCJw,14114
10
- epok_toolkit/messaging/whatsapp_instanced.py,sha256=FsyJNPgAonmo_9EYBGmfh4Ykovn7lXhzDyclyCepKno,627
10
+ epok_toolkit/messaging/whatsapp_instanced.py,sha256=NL6TBIGHKIgwwEfu99ay1Ybdv1cpbrSezobUdB2RNGU,729
11
11
  epok_toolkit/pdf/__init__.py,sha256=Scb1iOYnVIUEiUVHLNaPmcigyD-jOSBs3ws5RmolMKE,33
12
12
  epok_toolkit/pdf/ticket_pdf.py,sha256=6-QhnL2LCtWZeRIGnuQDeTybjMs39DnzohYx1mPQoPQ,8821
13
- epok_toolkit-1.0.0.dist-info/licenses/LICENSE,sha256=iLDbGXdLSIOT5OsxzHCvtmxHtonE21GiFlS3LNkug4A,128
14
- epok_toolkit-1.0.0.dist-info/METADATA,sha256=j2fxHYN14mUnmjkIdjKL4FB5Hr7DAMqPiEifrLjRWww,739
15
- epok_toolkit-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- epok_toolkit-1.0.0.dist-info/top_level.txt,sha256=Wo72AqIFcfWwBGM5F5iGFw9PrO3WBnTSprFZIJk_pNg,13
17
- epok_toolkit-1.0.0.dist-info/RECORD,,
13
+ epok_toolkit-1.1.0.dist-info/licenses/LICENSE,sha256=iLDbGXdLSIOT5OsxzHCvtmxHtonE21GiFlS3LNkug4A,128
14
+ epok_toolkit-1.1.0.dist-info/METADATA,sha256=TnmafPJYFJaZ8rW0hxDnqEaB2ykWx-HRPdx9A0xt5hM,739
15
+ epok_toolkit-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ epok_toolkit-1.1.0.dist-info/top_level.txt,sha256=Wo72AqIFcfWwBGM5F5iGFw9PrO3WBnTSprFZIJk_pNg,13
17
+ epok_toolkit-1.1.0.dist-info/RECORD,,