Is there any way to make this setup work?īeta Was this translation helpful? Give feedback. ArgumentError: Mapper mapped class Level3 - > data could not assemble any primary key columns for mapped table 'data' ![]() _configure_pks()įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/mapper.py", line 1328, in _configure_pks raise sa_exc. mapper_args),įile "", line 2, in _init_ File "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/util/deprecations.py", line 298, in warned return fn( * args, ** kwargs)įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/mapper.py", line 686, in _init_ self. map( mapper_kw)įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_base.py", line 979, in map mapper_cls( self. ![]() _early_mapping( mapper_kw)įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_base.py", line 200, in _early_mapping self. setup_mapping( registry, cls, dict_, None, )įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_base.py", line 177, in setup_mapping return cfg_cls( registry, cls_, dict_, table, mapper_kw)įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_base.py", line 314, in _init_ self. File "/home/qyriad/code/gsg/sqla-oop/inheritance.py", line 37, in class Level2Multi( Level1A, Level1B):įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_api.py", line 75, in _init_ _as_declarative( reg, cls, dict_)įile "/home/qyriad/.local/lib/python3.9/site-packages/sqlalchemy/orm/decl_base.py", line 126, in _as_declarative return _MapperConfig.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |