Hello guys. As a proof of concept, I implemented a hacky python to pl/python converter using python3 function annotations.
You can see it there if it's of interest to any of you: https://github.com/rdunklau/pytoplpython This led me to some questions. SQLAlchemy automatically manages tables and sequences for me, would it be possible to extend DDLElements to easily suport create/drop statements while being integrated to the metadata.createall() and metadata.dropall() methods ? Similarly, is the sqlalchemy core extensible regarding wich objects to reflect from the database ? Let's suppose I want to add automatic discovery of functions (or Foreign Tables, or anything else) during reflection time, how could I proceed while: - being as much integrated to sqlalchemy as possible - not modifying the sqlalchemy library itself I've had some experiments with postgresql foreign tables ( see https://github.com/Kozea/sqlalchemy_fdw if you want to see what it looks like), but I never managed to get it as tightly integrated as I wished. Thanks for your interest , any suggestion is welcomed ! Best regards, -- Ronan Dunklau -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
