We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have an example JSON
{ "id": 1, "test1": 2, "test2": 3, "child1_id": 6, "child1_name": "Test", "child2_id": 8, "child2_name": "Test2", }
and I want to have models
@related.immutable class Child1: id = related.IntegerField(key="child1_id") name = related.StringField(key="child1_name") @related.immutable class Child2: id = related.IntegerField(key="child2_id") name = related.StringField(key="child2_name") @related.immutable class Parent: id = related.IntegerField() test1 = related.IntegerField() test2 = related.IntegerField() child1 = related.ChildField(Child1) child2 = related.ChildField(Child2)
How can I do this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have an example JSON
and I want to have models
How can I do this?
The text was updated successfully, but these errors were encountered: