root@VM-16-3-ubuntu:/www/wwwroot/takker-1.3.0# poetry run python bot.py
02-27 16:32:57 [INFO] utils | 已禁用uvicorn自动重载
Traceback (most recent call last):
File "bot.py", line 5, in
from service.init import init_bot_startup, update_plugin_list
File "/www/wwwroot/takker-1.3.0/service/init.py", line 5, in
from service.db.db_connect import db_init
File "/www/wwwroot/takker-1.3.0/service/db/db_connect.py", line 8, in
models: list[str] = [
TypeError: 'type' object is not subscriptable
root@VM-16-3-ubuntu:/www/wwwroot/takker-1.3.0#
root@VM-16-3-ubuntu:/www/wwwroot/takker-1.3.0# poetry run python bot.py 02-27 16:32:57 [INFO] utils | 已禁用uvicorn自动重载 Traceback (most recent call last): File "bot.py", line 5, in
from service.init import init_bot_startup, update_plugin_list
File "/www/wwwroot/takker-1.3.0/service/init.py", line 5, in
from service.db.db_connect import db_init
File "/www/wwwroot/takker-1.3.0/service/db/db_connect.py", line 8, in
models: list[str] = [
TypeError: 'type' object is not subscriptable
root@VM-16-3-ubuntu:/www/wwwroot/takker-1.3.0#