We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959d4dd commit 5c3debfCopy full SHA for 5c3debf
fastapi_jsonapi/api.py
@@ -46,7 +46,10 @@
46
not_passed = object()
47
48
49
-@dataclass(frozen=True, slots=True)
+# todo: when 3.9 support is dropped, return back `slots=True to JSONAPIObjectSchemas dataclass`
50
+
51
52
+@dataclass(frozen=True)
53
class JSONAPIObjectSchemas:
54
attributes_schema: Type[BaseModel]
55
relationships_schema: Type[BaseModel]
0 commit comments