mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add frozen_default to dataclass_transform (#9756)
This commit is contained in:
@@ -766,6 +766,7 @@ if sys.version_info >= (3, 11):
|
||||
eq_default: bool = True,
|
||||
order_default: bool = False,
|
||||
kw_only_default: bool = False,
|
||||
frozen_default: bool = False, # on 3.11, runtime accepts it as part of kwargs
|
||||
field_specifiers: tuple[type[Any] | Callable[..., Any], ...] = ...,
|
||||
**kwargs: Any,
|
||||
) -> IdentityFunction: ...
|
||||
|
||||
Reference in New Issue
Block a user