Api v1.15.0 (#1593)

* fix(chalice): fixed path analysis operator
This commit is contained in:
Kraiem Taha Yassine 2023-10-27 21:06:09 +02:00 committed by GitHub
parent e891228d12
commit 910146b136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,7 @@ def path_analysis(project_id: int, data: schemas.CardPathAnalysis):
for i, sf in enumerate(data.start_point):
f_k = f"start_point_{i}"
op = sh.get_sql_operator(sf.operator)
sf.value = helper.values_for_operator(value=sf.value, op=sf.operator)
is_not = sh.is_negation_operator(sf.operator)
event_column = JOURNEY_TYPES[sf.type]['column']
event_type = JOURNEY_TYPES[sf.type]['eventType']