Skip to content

0.40.0

Choose a tag to compare

@dantownsend dantownsend released this 29 Aug 22:31
· 734 commits to master since this release

Added nested output option, which makes the response from a select query use nested dictionaries:

>>> await Band.select(Band.name, *Band.manager.all_columns()).output(nested=True).run()
[{'name': 'Pythonistas', 'manager': {'id': 1, 'name': 'Guido'}}]

Thanks to @wmshort for the input.