whatsapp-python 3.0.5__py3-none-any.whl → 3.0.6__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.
- whatsapp/__init__.py +3 -2
- whatsapp/constants.py +1 -1
- {whatsapp_python-3.0.5.dist-info → whatsapp_python-3.0.6.dist-info}/METADATA +1 -1
- {whatsapp_python-3.0.5.dist-info → whatsapp_python-3.0.6.dist-info}/RECORD +6 -6
- {whatsapp_python-3.0.5.dist-info → whatsapp_python-3.0.6.dist-info}/WHEEL +0 -0
- {whatsapp_python-3.0.5.dist-info → whatsapp_python-3.0.6.dist-info}/licenses/LICENSE +0 -0
whatsapp/__init__.py
CHANGED
|
@@ -6,6 +6,7 @@ from __future__ import annotations
|
|
|
6
6
|
import requests
|
|
7
7
|
import logging
|
|
8
8
|
from fastapi import FastAPI, Request
|
|
9
|
+
from uvicorn import run as _run
|
|
9
10
|
from .constants import VERSION
|
|
10
11
|
from . import ext
|
|
11
12
|
from .ext._property import authorized
|
|
@@ -177,8 +178,8 @@ class WhatsApp(object):
|
|
|
177
178
|
"""
|
|
178
179
|
self.verification_handler = handler
|
|
179
180
|
|
|
180
|
-
def run(self, host: str = "localhost", port: int = 5000,
|
|
181
|
-
self.app
|
|
181
|
+
def run(self, host: str = "localhost", port: int = 5000, **options):
|
|
182
|
+
_run(self.app, host=host, port=port, **options)
|
|
182
183
|
|
|
183
184
|
|
|
184
185
|
class Message(object):
|
whatsapp/constants.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: whatsapp-python
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Summary: Open source Python wrapper for the WhatsApp Cloud API
|
|
5
5
|
Project-URL: Homepage, https://github.com/filipporomani/whatsapp
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/filipporomani/whatsapp/issues
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
whatsapp/__init__.py,sha256=
|
|
2
|
-
whatsapp/constants.py,sha256=
|
|
1
|
+
whatsapp/__init__.py,sha256=5yVkpN6lRK9L6H2xNyoMeoxZgXT-f-j5X_699vO2k_0,9994
|
|
2
|
+
whatsapp/constants.py,sha256=SkKPPmrV839dBFHzWlbmec3jAog5uZx23EmbCmGExUo,62
|
|
3
3
|
whatsapp/ext/_buttons.py,sha256=GKgxDsansBf4dm4UtZWa-Y-P5ag0TCo36badqyS5fFU,2922
|
|
4
4
|
whatsapp/ext/_media.py,sha256=S8kLfFbZQ1zDCNjdFr5jQYBnuo7tp9FMGsZOGb-h23o,4511
|
|
5
5
|
whatsapp/ext/_message.py,sha256=_0E47iqKdP6YsFXSbSFHJ7TLzL5cSfUiHqbG17FN0Lg,3792
|
|
@@ -7,7 +7,7 @@ whatsapp/ext/_property.py,sha256=QS4FjWw21lyLuHnXGy7-2MCP-p0VoMw0gRpgu0OByO8,128
|
|
|
7
7
|
whatsapp/ext/_send_media.py,sha256=aLdq4a0CyYa_ZNy8KOXEdX2rwA79RbCPp-thMjVxvh0,10036
|
|
8
8
|
whatsapp/ext/_send_others.py,sha256=9Z2zV64Ygxu0LmN9Oy_oomwtgUbk3ZIFEF_3RWxkUDM,2934
|
|
9
9
|
whatsapp/ext/_static.py,sha256=6T9CmHD3XBAH3e2T-w9je1mOfC1HwdBIMaRQjBdR_cQ,9513
|
|
10
|
-
whatsapp_python-3.0.
|
|
11
|
-
whatsapp_python-3.0.
|
|
12
|
-
whatsapp_python-3.0.
|
|
13
|
-
whatsapp_python-3.0.
|
|
10
|
+
whatsapp_python-3.0.6.dist-info/METADATA,sha256=wD4GA2KF9VnxNNSilWOctTBSm2mbSnW1ekf871_GDLk,5202
|
|
11
|
+
whatsapp_python-3.0.6.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
12
|
+
whatsapp_python-3.0.6.dist-info/licenses/LICENSE,sha256=HnVLQg1StPmnEJfysP2uUtgEGJ2NsZjAT_5y1WsV8RU,1092
|
|
13
|
+
whatsapp_python-3.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|