I'm sure Mike will have a better answer, but I immediately thought "events!" and that led me to some documentation in the Oracle driver for dealing with another issue, but it looks like you could use that same hook...
https://docs.sqlalchemy.org/en/13/core/events.html#sqlalchemy.events.DialectEvents.do_setinputsizes https://docs.sqlalchemy.org/en/13/dialects/oracle.html#cx-oracle-setinputsizes you could probably use another event too... but i think events should catch all the `text()` constructs that a TypeDecorator would miss. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/05b2e1ae-f91e-463f-a474-c3a7c0fea5e8%40googlegroups.com.
