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
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
[](https://smarie.github.io/python-pyfields/)[](https://pypi.python.org/pypi/pyfields/)[](https://pepy.tech/project/pyfields)[](https://pepy.tech/project/pyfields)[](https://github.com/smarie/python-pyfields/stargazers)
8
8
9
-
!!! success "`pyfields` now has its own `@autoclass` with sensible defaults, to complement the existing `@autofields`[feature](#a-autofields)! No need to import `autoclass` anymore. See [here](#hash-dict-eq-repr) for details."
9
+
!!! success "`pyfields` now has its own [`@autoclass`](#hash-dict-eq-repr) with sensible defaults, to complement the existing [`@autofields`](#a-autofields) feature! No need to import it from `autoclass` anymore."
10
10
11
11
`pyfields` provides a simple and elegant way to define fields in python classes. With `pyfields` you explicitly define all aspects of a field (default value/factory, type, validators, converters, documentation...) in a single place, and can refer to it from other places.
0 commit comments