Add frozen_default to dataclass_transform (#9756)

This commit is contained in:
Shantanu
2023-02-18 15:25:29 -08:00
committed by GitHub
parent 1db405b15c
commit da9366d016
2 changed files with 2 additions and 0 deletions

View File

@@ -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: ...