kw = {
"prefixes": ["GLOBAL TEMPORARY"],
"firebird_on_commit": "PRESERVE ROWS",
}
metadata = sa.MetaData()
user_tmp = sa.Table(
"user_tmp",
metadata,
sa.Column("id", sa.INT, primary_key=True),
sa.Column("name", sa.VARCHAR(50)),
sa.Column("foo", sa.INT),
sa.UniqueConstraint("name", name="user_tmp_uq"),
sa.Index("user_tmp_ix", "foo"),
**kw
)
metadata.create_all(bind=engine)
construct_arguments = [
(
sa_schema.Table,
{"resolve_synonyms": False, "on_commit": None, "compress": False},
),
(sa_schema.Index, {"bitmap": False, "compress": False}),
]
sqlalchemy.exc.ArgumentError: Argument 'firebird_on_commit' is not accepted by dialect 'firebird' on behalf of <class 'sqlalchemy.sql.schema.Table'>
--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---You received this message because you are subscribed to the Google Groups "sqlalchemy" group.To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/5eeb1cb9-2ae8-47a0-bb1b-85d70db6e204%40googlegroups.com.