Skip to content

Commit

Permalink
Add a close method to InferenceData
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopaz committed Apr 4, 2024
1 parent dbef460 commit 7f66e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arviz/data/inference_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,7 @@ def extend(self, other, join="left"):
compute = _extend_xr_method(xr.Dataset.compute)
persist = _extend_xr_method(xr.Dataset.persist)
quantile = _extend_xr_method(xr.Dataset.quantile)
close = _extend_xr_method(xr.Dataset.close)

# The following lines use methods on xr.Dataset that are dynamically defined and attached.
# As a result mypy cannot see them, so we have to suppress the resulting mypy errors.
Expand Down

0 comments on commit 7f66e59

Please sign in to comment.