* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* refactor(chalice): upgraded dependencies
refactor(chalice): new ch-driver logs
This commit is contained in:
Kraiem Taha Yassine 2024-12-09 13:11:17 +01:00 committed by GitHub
parent 962385651f
commit f360961500
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@ name = "pypi"
[packages]
sqlparse = "==0.5.2"
urllib3 = "==1.26.16"
urllib3 = "==2.2.3"
requests = "==2.32.3"
boto3 = "==1.35.76"
pyjwt = "==2.10.1"
@ -21,7 +21,7 @@ uvicorn = {extras = ["standard"], version = "==0.32.1"}
python-decouple = "==3.8"
pydantic = {extras = ["email"], version = "==2.10.3"}
apscheduler = "==3.11.0"
redis = "==5.2.0"
redis = "==5.2.1"
[dev-packages]

View file

@ -2,7 +2,7 @@ import logging
import threading
import time
from functools import wraps
from queue import Queue
from queue import Queue, Empty
import clickhouse_connect
from clickhouse_connect.driver.query import QueryContext
@ -34,6 +34,7 @@ if config("CH_COMPRESSION", cast=bool, default=True):
def transform_result(original_function):
@wraps(original_function)
def wrapper(*args, **kwargs):
logger.info("Executing query on CH")
result = original_function(*args, **kwargs)
if isinstance(result, clickhouse_connect.driver.query.QueryResult):
column_names = result.column_names

View file

@ -1,5 +1,5 @@
# Keep this version to not have conflicts between requests and boto3
urllib3==1.26.16
urllib3==2.2.3
requests==2.32.3
boto3==1.35.76
pyjwt==2.10.1
@ -19,4 +19,4 @@ python-decouple==3.8
pydantic[email]==2.10.3
apscheduler==3.11.0
redis==5.2.0
redis==5.2.1