Re: [sqlalchemy] Re: Finding table dependencies in a selectable

2018-10-26 Thread Mike Bayer
On Fri, Oct 26, 2018 at 11:51 AM Philip Martin wrote: > > Thanks Mike. It looks like util.find_tables is exactly what I was looking for. > > On a related topic, it seems Base.metadata.sorted_tables is splitting out a > different (and not correct) dependency order when a view depends on another >

[sqlalchemy] Re: Finding table dependencies in a selectable

2018-10-26 Thread Philip Martin
Thanks Mike. It looks like *util.find_tables* is exactly what I was looking for. On a related topic, it seems *Base.metadata.sorted_tables* is splitting out a different (and not correct) dependency order when a view depends on another view while *schema.sort_tables([ view_depend_on_view_one, v