We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Hooks (and MongoHooks as far as I have seen) are splitted into 2 different methods:
def sumUrl_set_up(*args, **kwargs): tables = ["url_hourly", "url_daily", "url_monthly"] create_tables(tables, **kwargs) def sumUrl(**kwargs): if not _check_environment(**kwargs): return if not _check_postgresql(**kwargs): raise NotImplementedError("Only PostgreSQL currently supported") return [...]
However in the Storage class method __init__ it is called as the following:
__init__
flask-track-usage/src/flask_track_usage/storage/__init__.py
Line 66 in 629ad1c
Two solutions came to my mind:
Storage.__init__
<hook>_set_up
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SQL Hooks (and MongoHooks as far as I have seen) are splitted into 2 different methods:
However in the Storage class method
__init__
it is called as the following:flask-track-usage/src/flask_track_usage/storage/__init__.py
Line 66 in 629ad1c
Two solutions came to my mind:
Storage.__init__
to call<hook>_set_up
function instead.The text was updated successfully, but these errors were encountered: