flask-track-usage
flask-track-usage copied to clipboard
Can't import "sumVisitors"
I'm trying to use the sumVisitors hook but I get the error when I try to import it:
ImportError: cannot import name 'sumVisitors' from 'flask_track_usage.summarization'
Any idea?
Thanks.
Hi @mooseyoose! Are you seeing this in master or in a specific release?
Ah, right. This code which hasn't been implemented and is listed as "TBD". You can see it at https://github.com/ashcrow/flask-track-usage/blob/master/src/flask_track_usage/summarization/init.py#L178-L196