Closed SurajBhari closed 4 months ago
Fixed - updated pyproject.toml
Thanks for reporting!!
hey @filipporomani i accidentally called it requests_toolkit
while it is requests_toolbelt
:yikes:
😂 no prob I'll fix this up
@filipporomani i had a question i am trying to run the webhook example. but the issue is the data
given by the api if passed to Message class in data attribute. will give a broken object. where simple stuff like message.sender is None. is this expected behavour ? cuz i don't think so//
while using the example in https://github.com/filipporomani/whatsapp/blob/3c04097af9802594d1ddf479abaaadfb662ece65/whatsapp/ext/_static.py#L5 works fine on same data. what am i doing wrong ??
on doing some debugging i found a mistake in this line https://github.com/filipporomani/whatsapp/blob/3c04097af9802594d1ddf479abaaadfb662ece65/whatsapp/__init__.py#L243
the self.instance = instance should be way above as self.instance is being utilized above. and it will throw an error f'ing up everything and making everything None.
I will make PR to fix it all xD
Describe the bug just doing
pip install whatsapp-python
doesn't make it run. and can be misleading for new developers who don't know what is wrong.To Reproduce Steps to reproduce the behavior:
pip install whatsapp-python
Expected behavior it should have installed
fastapi
uvicorn
requests_toolkit
Additional context just adding a requirements.txt and stating it in setup.py should work.