I have a Table instance with a UniqueConstraint. SA fails while creating
a copy of the table using table.tometadata(). Is there a workaround?

Andreas

-------------


Traceback (most recent call last):
 File "schema.py", line 77, in ?
   M.createTables()
 File "schema.py", line 35, in createTables
   for name, table in  DB.getTables().items():
File "/home/ajung/sandboxes/mediendb-ajung/HaufeCMS/lib/python/mediendb/haufe/sqlalchemy/postgres/python_wrapper.py", line 54, in getTables
   d[name] = table.tometadata(metadata)
File "/local2/HRS2/mediendb-ajung/HaufeCMS/lib/python/mediendb/database/schema.py", line 303, in tometadata

File "/local2/HRS2/mediendb-ajung/HaufeCMS/lib/python/mediendb/database/schema.py", line 703, in copy

NotImplementedErro

Attachment: pgpTD3H1QpFYo.pgp
Description: PGP signature

Reply via email to