Add an auto composer #5
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Valentin/Python_API_Consumer#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As many ORM, an attribute "object_id" refer to id and a "object" attibute to its composed instance.
This permit to decompose attribute name formatted like "anything_id" to find in
Model.__subclasses__()if an "anything" class name exist.If we find it and the dev explicitly demand it (in the model instance specific atribute), we can instantiate the class with a
from_dbcall.