You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,7 +221,7 @@ For example, consider a class with a `dateTime` field and a factory for it: skip
216
221
So we apply the `omit_if_default` rule to the class, but not to the `dateTime` field.
217
222
218
223
```{note}
219
-
The parameter to `make_dict_unstructure_function`is named ``_cattrs_omit_if_default`` instead of just ``omit_if_default`` to avoid potential collisions with an override for a field named ``omit_if_default``.
224
+
The parameter to {meth}`make_dict_unstructure_fn`is named ``_cattrs_omit_if_default`` instead of just ``omit_if_default`` to avoid potential collisions with an override for a field named ``omit_if_default``.
220
225
```
221
226
222
227
```{doctest}
@@ -226,11 +231,16 @@ So we apply the `omit_if_default` rule to the class, but not to the `dateTime` f
0 commit comments