You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
At the moment, model_to_dict can take a path of relationships to hydrate, for example:
model_to_dict(person, ['parent', 'sister']) would result in hydrating the parent relationship on the Person model, and then hydrate the sister relationship on the Parent model.
It would be nice to be able to hydrate multiple relationship paths with a single call, an example could look like:
At the moment,
model_to_dict
can take a path of relationships to hydrate, for example:model_to_dict(person, ['parent', 'sister'])
would result in hydrating theparent
relationship on thePerson
model, and then hydrate thesister
relationship on theParent
model.It would be nice to be able to hydrate multiple relationship paths with a single call, an example could look like:
model_to_dict(person, ['parent', ['sister', 'brother]]
The text was updated successfully, but these errors were encountered: