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

Data classes should be fussier about typing #86

Open
pp-mo opened this issue Jun 27, 2024 · 0 comments
Open

Data classes should be fussier about typing #86

pp-mo opened this issue Jun 27, 2024 · 0 comments

Comments

@pp-mo
Copy link
Owner

pp-mo commented Jun 27, 2024

We should maybe make more effort to enforce correctness
(whereas up to now we have just aimed to "not make it hard to do the right thing")

Probably we should disallow, e.g. variable.attributes = {'a':1, 'b':2}
(which currently is a gotcha because the content is just values, not NcAttributes)
Or, we should support the correct translations

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

No branches or pull requests

1 participant