strictly that
> the function should be defined in the same place as the mapper? you
> could just attach your "dependencies" function onto your Command
> class at any point in your application.
>
> anyway, to get the mapped table for a class:
>
> class_mapper(Command).mapp
Hi all -
I want to convert a handful of complicated queries into properties,
for simplicity and ease of maintaince.
I currently have a function in my class called 'dependencies':
def dependencies(self):
parent = DataRun.CMDS.alias('PARENT')
return object_session(self).query(Comma