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

Support user defiend dataclasses and named ntuples #174

Closed
wants to merge 14 commits into from

Conversation

gordonwatts
Copy link
Member

@gordonwatts gordonwatts commented Mar 10, 2025

  • User defined dataclasses are now supported inline
  • Some legacy 3.8 support is removed.

Fixes #63

gordonwatts and others added 10 commits March 6, 2025 23:13
* Added first simple test

* Enable de-ref via slices
* Remove ast.Num

* Remove ast.Str

* Remove ast.NameConstant

* Move to value for constant

* Remove ast.Index as well

* Fix up pylance errors due to `ast.expr`

* Fix up a few flake8 import errors
* Run on pull request submission.

* And on a push to master

* Add classes as constants to the data stream

* Add support for enums and stuff burred in modules.

* Add 3.10 support

* Minor update to readme documenting this change.
@gordonwatts gordonwatts self-assigned this Mar 10, 2025
@gordonwatts gordonwatts added the enhancement New feature or request label Mar 10, 2025
@gordonwatts gordonwatts deleted the feat/dc_and_nt branch March 11, 2025 12:08
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