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

AsdfFile does not implement __delitem__ #1874

Open
braingram opened this issue Nov 26, 2024 · 0 comments
Open

AsdfFile does not implement __delitem__ #1874

braingram opened this issue Nov 26, 2024 · 0 comments
Milestone

Comments

@braingram
Copy link
Contributor

Description of the problem

AsdfFile implements __setitem__ and __getitem__ for easy tree access but does not implement __delitem__

Example of the problem

> import asdf
> af = asdf.AsdfFile({'foo': 1})
> del af["foo"]
AttributeError: __delitem__

System information

asdf version: main
python version: 3.10
operating system: mac

@braingram braingram added this to the 4.x.x milestone Dec 11, 2024
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