@@ -62,12 +62,12 @@ Converts unstructured data into structured data, recursively, according to your
62
62
The following types are supported:
63
63
64
64
- ` typing.Optional[T] ` and its 3.10+ form, ` T | None ` .
65
- - ` list[T] ` , ` typing.List[T] ` , ` typing.MutableSequence[T] ` , ` typing.Sequence[T] ` convert to a lists.
65
+ - ` list[T] ` , ` typing.List[T] ` , ` typing.MutableSequence[T] ` , ` typing.Sequence[T] ` convert to lists.
66
66
- ` tuple ` and ` typing.Tuple ` (both variants, ` tuple[T, ...] ` and ` tuple[X, Y, Z] ` ).
67
- - ` set[T] ` , ` typing.MutableSet[T] ` , and ` typing.Set[T] ` convert to a sets.
68
- - ` frozenset[T] ` , and ` typing.FrozenSet[T] ` convert to a frozensets.
69
- - ` dict[K, V] ` , ` typing.Dict[K, V] ` , ` typing.MutableMapping[K, V] ` , and ` typing.Mapping[K, V] ` convert to a dictionaries.
70
- - [ ` typing.TypedDict ` ] ( https://docs.python.org/3/library/typing.html#typing.TypedDict ) , ordinary and generic.
67
+ - ` set[T] ` , ` typing.MutableSet[T] ` , and ` typing.Set[T] ` convert to sets.
68
+ - ` frozenset[T] ` , and ` typing.FrozenSet[T] ` convert to frozensets.
69
+ - ` dict[K, V] ` , ` typing.Dict[K, V] ` , ` typing.MutableMapping[K, V] ` , and ` typing.Mapping[K, V] ` convert to dictionaries.
70
+ - [ ` typing.TypedDict ` ] ( https://docs.python.org/3/library/typing.html#typing.TypedDict ) , both ordinary and generic.
71
71
- [ ` typing.NewType ` ] ( https://docs.python.org/3/library/typing.html#newtype )
72
72
- [ PEP 695 type aliases] ( https://docs.python.org/3/library/typing.html#type-aliases ) on 3.12+
73
73
- _ attrs_ classes with simple attributes and the usual ` __init__ ` [ ^ simple ] .
0 commit comments