* 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): refactored metrics * refactor(chalice): refactored autocomplete
10 lines
330 B
Python
10 lines
330 B
Python
from decouple import config
|
|
import logging
|
|
|
|
logging.basicConfig(level=config("LOGLEVEL", default=logging.INFO))
|
|
|
|
if config("EXP_AUTOCOMPLETE", cast=bool, default=False):
|
|
logging.info(">>> Using experimental autocomplete")
|
|
from . import autocomplete_exp as autocomplete
|
|
else:
|
|
from . import autocomplete as autocomplete
|