add mixin support with fields definitions

This commit is contained in:
collerek
2020-12-09 14:27:10 +01:00
parent 3b4dc59e5a
commit 53e0fa8e65
5 changed files with 314 additions and 15 deletions

View File

@ -55,7 +55,7 @@ async def test_model_relationship():
assert ws.topic == "Topic 1"
assert ws.category.name == "Foo"
ws.topic = 'Topic 2'
ws.topic = "Topic 2"
await ws.update()
assert ws.id == 1