Traceback (most recent call last):


 "manager_dev.py", line 5, in <module>

app = create_app('dev')


 "/prj/dev/flask_template/app/__init__.py", line 23, in create_app

from .api_1_0 import api


 "/prj/dev/flask_template/app/api_1_0/__init__.py", line 5, in <module>

from . import apis


 "/prj/dev/flask_template/app/api_1_0/apis.py", line 33, in <module>

@scheduler.task("interval", id="do_job_1", seconds=15, misfire_grace_time=900)
AttributeError: 'APScheduler' object has no attribute 'task'

Traceback (most recent call last):


 "C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tornado\ioloop.py", line 907, in _run

return self.callback()


 "C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\distributed\nanny.py", line 414, in memory_monitor

process = self.process.process
AttributeError: 'NoneType' object has no attribute 'process'
