Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle WhatsApp Unsupported Msgs, Also: add new logger utility and refine .gitignore #78

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

OdyAsh
Copy link
Collaborator

@OdyAsh OdyAsh commented Nov 12, 2024

No description provided.

@@ -70,7 +68,7 @@ async def process_and_reply_to_whatsapp_sender(
async def extract_relevant_whatsapp_message_details(
self,
body: Dict[str, Any],
) -> Optional[Tuple[str, str, str]]:
) -> Tuple[str, str, str] | str | None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only supported in Python 3.11 and up. For max flexibility and to allow people to use older versions of python, we should use the Union[] class.

@OdyAsh OdyAsh merged commit 2234e7e into ansari-project:main Nov 13, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants