Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

to/from_dict #82

Merged
merged 5 commits into from
May 5, 2022
Merged

to/from_dict #82

merged 5 commits into from
May 5, 2022

Conversation

TomNicholas
Copy link
Member

Adds a simple .to_dict() method, and documents the behaviour in #81 in the tests. Also fixes some typing errors.

  • Closes #xxxx
  • Tests added
  • Passes pre-commit run --all-files
  • New functions/methods are listed in api.rst

@TomNicholas TomNicholas added the enhancement New feature or request label May 5, 2022
@TomNicholas TomNicholas merged commit da3a5f8 into xarray-contrib:main May 5, 2022
@TomNicholas TomNicholas deleted the from_dict2 branch May 5, 2022 15:47
flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
* add to_dict method

* added roundtrip test

* add xfailed test for rountripping with named root

* whats-new
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant