chatgraph 0.3.3__tar.gz → 0.3.4__tar.gz
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 chatgraph might be problematic. Click here for more details.
- {chatgraph-0.3.3 → chatgraph-0.3.4}/PKG-INFO +1 -1
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/cli/__init__.py +1 -3
- {chatgraph-0.3.3 → chatgraph-0.3.4}/pyproject.toml +1 -1
- {chatgraph-0.3.3 → chatgraph-0.3.4}/LICENSE +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/README.md +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/__init__.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/auth/credentials.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/bot/chatbot_model.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/bot/chatbot_router.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/error/chatbot_error.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/error/route_error.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/gRPC/gRPCCall.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/messages/message_consumer.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/userstate.proto +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/userstate_pb2.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/userstate_pb2_grpc.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/voll.proto +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/voll_pb2.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/pb/voll_pb2_grpc.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/types/end_types.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/types/message_types.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/types/request_types.py +0 -0
- {chatgraph-0.3.3 → chatgraph-0.3.4}/chatgraph/types/route.py +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import typer
|
|
2
2
|
from rich.console import Console
|
|
3
3
|
from rich.table import Table
|
|
4
|
-
from rich.text import Text
|
|
5
|
-
from rich.panel import Panel
|
|
6
4
|
from dotenv import load_dotenv
|
|
7
5
|
from ..gRPC.gRPCCall import WhatsappServiceClient, UserStateServiceClient
|
|
8
6
|
import os, re
|
|
@@ -62,7 +60,7 @@ def campaigns(regex: str = typer.Option(None, "--regex", "-r", help="Filtro rege
|
|
|
62
60
|
# Aplicar filtro de regex, se fornecido
|
|
63
61
|
filtered_campaigns = campaigns.campaigns
|
|
64
62
|
if regex:
|
|
65
|
-
pattern = re.compile(regex)
|
|
63
|
+
pattern = re.compile(regex, re.IGNORECASE)
|
|
66
64
|
filtered_campaigns = [
|
|
67
65
|
campaign for campaign in campaigns.campaigns
|
|
68
66
|
if pattern.search(campaign.campaign_name)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|