Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dataclasses and named tuples as syntatic sugar #176

Merged
merged 8 commits into from
Mar 11, 2025

Conversation

gordonwatts
Copy link
Member

@gordonwatts gordonwatts commented Mar 11, 2025

  • Dataclasses are replaced by dictionaries as syntatic sugar
  • named tuples are also replaced by dictionaries as syntatic sugar

These changes should enable the user to build a EDM with a dataclass or named tuple, and have type checking follow it!

Fixes #63

@gordonwatts gordonwatts self-assigned this Mar 11, 2025
@gordonwatts gordonwatts added the enhancement New feature or request label Mar 11, 2025
@gordonwatts gordonwatts marked this pull request as ready for review March 11, 2025 12:05
@gordonwatts gordonwatts merged commit 921f615 into master Mar 11, 2025
16 checks passed
@gordonwatts gordonwatts deleted the feat/syntatic_sugar_dc_nt branch March 11, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Named Tuples and data classes
1 participant