ashcrow / flask-track-usage

Basic metrics tracking for the Flask framework.
Other
53 stars 33 forks source link

Can't import "sumVisitors" #60

Open mooseyoose opened 4 years ago

mooseyoose commented 4 years ago

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.

ashcrow commented 4 years ago

Hi @mooseyoose! Are you seeing this in master or in a specific release?

ashcrow commented 4 years ago

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