/home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'action_pic_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line?
class ActionPic(Base):
/home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'explorer_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line?
class ActionPic(Base):
/home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'transactions_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line?
class ActionPic(Base):
/home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'actions': possibly a copy-and-paste error with a comma accidentally placed at the end of the line?
class ActionPic(Base):
Traceback (most recent call last):
File "/home/deepak/tact/ontario-explorer/app.py", line 235, in 
Choose filesNo file chosen
Attach files by dragging & dropping, selecting or pasting them.
Styling with Markdown is supported
Styling with Markdown is supported
Submit new issue
class ActionPic(Base):
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_api.py", line 76, in init
_asdeclarative(reg, cls, dict)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 126, in _as_declarative
return _MapperConfig.setupmapping(registry, cls, dict, None, {})
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 183, in setup_mapping
return cfgcls(registry, cls, dict_, table, mapper_kw)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 335, in init
self._early_mapping(mapper_kw)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 215, in _early_mapping
self.map(mapper_kw)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 1047, in map
mapper_cls(self.cls, self.local_table, *self.mapper_args),
File "", line 2, in init
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
return fn(args, **kwargs)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/mapper.py", line 693, in init
self._configure_pks()
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/mapper.py", line 1383, in _configure_pks
raise sa_exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Mapper mapped class ActionPic->action_pic could not assemble any primary key columns for mapped table 'action_pic'
/home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'action_pic_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line? class ActionPic(Base): /home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'explorer_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line? class ActionPic(Base): /home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'transactions_id': possibly a copy-and-paste error with a comma accidentally placed at the end of the line? class ActionPic(Base): /home/deepak/tact/ontario-explorer/app.py:235: SAWarning: Ignoring declarative-like tuple value of attribute 'actions': possibly a copy-and-paste error with a comma accidentally placed at the end of the line? class ActionPic(Base): Traceback (most recent call last): File "/home/deepak/tact/ontario-explorer/app.py", line 235, in
Choose filesNo file chosen
Attach files by dragging & dropping, selecting or pasting them.
Styling with Markdown is supported
Styling with Markdown is supported
Submit new issue
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_api.py", line 76, in init _asdeclarative(reg, cls, dict) File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 126, in _as_declarative return _MapperConfig.setupmapping(registry, cls, dict, None, {}) File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 183, in setup_mapping return cfgcls(registry, cls, dict_, table, mapper_kw) File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 335, in init self._early_mapping(mapper_kw) File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 215, in _early_mapping self.map(mapper_kw) File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 1047, in map mapper_cls(self.cls, self.local_table, *self.mapper_args), File "", line 2, in init
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
return fn( args, **kwargs)
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/mapper.py", line 693, in init
self._configure_pks()
File "/home/deepak/.local/lib/python3.10/site-packages/sqlalchemy/orm/mapper.py", line 1383, in _configure_pks
raise sa_exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Mapper mapped class ActionPic->action_pic could not assemble any primary key columns for mapped table 'action_pic'