When needed, use quote_relation_name from sqlalchemy-cratedb package. Otherwise, don't quote at all, and push this responsibility to the caller. I think it is better doing it this way, than doing it wrong.
Instead of doing it insufficiently, let's pay the price on pulling in the sqlalchemy-cratedb package as a dependency, to be able to use the canonical implementation quote_relation_name without further ado.
About
When needed, usequote_relation_name
fromsqlalchemy-cratedb
package. Otherwise, don't quote at all, and push this responsibility to the caller. I think it is better doing it this way, than doing it wrong.Instead of doing it insufficiently, let's pay the price on pulling in the
sqlalchemy-cratedb
package as a dependency, to be able to use the canonical implementationquote_relation_name
without further ado.