Re: [sqlalchemy] combining DDL events -- bad practice?

2017-01-06 Thread mike bayer
why dont you aggregate all those functions into just one function? they are all on the same event after all. or have some kind of data structure that has all those functions and you loop through a list to register. lots of ways to make that be less code. On 01/06/2017 10:43 AM, Darin Gor

[sqlalchemy] combining DDL events -- bad practice?

2017-01-06 Thread Darin Gordon
Is there a way to combine DDL events so to reduce the number of event.listen(... ) statements that need to be created for a specific event topic or is that a design mistake that has good reason for missing implementation? Take, for instance, the highlighted section of the following repo: htt