我正在尝试将Huey用作跨平台任务队列。我发现了https://github.com/pjcunningham/flask-huey-example,我已经克隆并设置了一个虚拟环境来使用conda。按照我尝试的自述文件:
$ python run_app.py
Traceback (most recent call last):
File "run_app.py", line 13, in <module>
app = create_app()
File "E:\ENVS\r3\hueytest1\app\__init__.py", line 12, in create_app
_app.config.from_object(os.environ['APP_SETTINGS'])
File "E:\miniconda2\envs\hueytest1\lib\os.py", line 669, in __getitem__
raise KeyError(key) from None
KeyError: 'APP_SETTINGS'
我在项目中没有看到APP_SETTINGS。这是Flask相关的env变量吗?我该如何工作?