2024-10-03 11:22:07 发布
网友
我收到以下错误消息:
Traceback (most recent call last): File "alchemyTest.py", line 12, in <module> planetMapper = mapper(Planet, planet) NameError: name 'mapper' is not defined
我的SQLAlchemy版本是1.0.12。我使用以下代码:
我已经在网上搜索,并没有找到任何地图上没有定义。感谢任何帮助。在
from sqlalchemy.orm import mapper
相关问题 更多 >
编程相关推荐