(venv) D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel>python manage.py db init
Traceback (most recent call last):
File "manage.py", line 3, in <module>
from app.models import *
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\app\models.py", line 5, in <module>
class User(db.Model):
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\flask_sqlalche
my\model.py", line 67, in __init__
super(NameMetaMixin, cls).__init__(name, bases, d)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\flask_sqlalche
my\model.py", line 121, in __init__
super(BindMetaMixin, cls).__init__(name, bases, d)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\orm
\decl_api.py", line 72, in __init__
_as_declarative(reg, cls, dict_)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\orm
\decl_base.py", line 126, in _as_declarative
return _MapperConfig.setup_mapping(registry, cls, dict_, None, {})
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\orm
\decl_base.py", line 177, in setup_mapping
return cfg_cls(registry, cls_, dict_, table, mapper_kw)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\orm
\decl_base.py", line 310, in __init__
self._setup_table(table)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\orm
\decl_base.py", line 803, in _setup_table
**table_kw
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\flask_sqlalche
my\model.py", line 99, in __table_cls__
return sa.Table(*args, **kwargs)
File "<string>", line 2, in __new__
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\uti
l\deprecations.py", line 298, in warned
return fn(*args, **kwargs)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\sql
\schema.py", line 600, in __new__
metadata._remove_table(name, schema)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\uti
l\langhelpers.py", line 72, in __exit__
with_traceback=exc_tb,
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\uti
l\compat.py", line 207, in raise_
raise exception
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\sql
\schema.py", line 595, in __new__
table._init(name, metadata, *args, **kw)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\sql
\schema.py", line 664, in _init
self._extra_kwargs(**kwargs)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\sql
\schema.py", line 800, in _extra_kwargs
self._validate_dialect_kwargs(kwargs)
File "D:\PycharmProjects\python_Introduction\python_Introduction\code\29\Travel\venv\lib\site-packages\sqlalchemy\sql
\base.py", line 416, in _validate_dialect_kwargs
"named <dialectname>_<argument>, got '%s'" % k
TypeError: Additional arguments should be named <dialectname>_<argument>, got 'useexisting'