flask-skaf/app/tasks.py
svitvojimilioni 590a43b28e
Fixed config
- config didn't work now it's working properly
- it takes config from envirionment variable FLASK_CONFIG
- if no such variable exists it uses Development config as default
2023-08-15 20:29:21 -04:00

4 lines
73 B
Python

def example_task(n: int) -> int:
""" Example task"""
return n**n