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 f315d71 commit d6396c1Copy full SHA for d6396c1
marshmallow_dataclass/__init__.py
@@ -300,6 +300,7 @@ def class_schema(
300
Marking dataclass fields as non-initialized (``init=False``), by default, will result in those
301
fields from being exluded in the schema. To override this behaviour, set the ``Meta`` option
302
``include_non_init=True``.
303
+
304
>>> @dataclasses.dataclass()
305
... class C:
306
... important: int = dataclasses.field(init=True, default=0)
0 commit comments