Skip to content

Fix: Add type hints to chex.dataclass#430

Open
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:fix/issue-321
Open

Fix: Add type hints to chex.dataclass#430
Ashutosh0x wants to merge 1 commit intogoogle-deepmind:mainfrom
Ashutosh0x:fix/issue-321

Conversation

@Ashutosh0x
Copy link

@Ashutosh0x Ashutosh0x commented Jan 6, 2026

Resolves #321.

Adds standard type annotations to chex.dataclass and _Dataclass to fix type errors like 'Expected no arguments to dataclass constructor' in Pyright and Mypy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chex.dataclass wrapper causes type error: Expected no arguments to dataclass constructor

1 participant