Skip to content

Add missing AbstractWritableDataStore base methods and arguments #10343

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

Merged
merged 8 commits into from
May 30, 2025

Conversation

sjperkins
Copy link
Contributor

@sjperkins sjperkins commented May 21, 2025

I noticed that

  • AbstractWritableDataStore.set_dimension was missing the is_unlimited argument.
  • No AbstractWritableDataStore.prepare_variable base method was provided

while implementing:

This may not be exhaustive

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

Copy link

welcome bot commented May 21, 2025

Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient.
If you have questions, some answers may be found in our contributing guidelines.

@dcherian
Copy link
Contributor

Thanks, seems alright. We should probably make this an abstractclass but I'm not sure how many downstream users exist today.

@dcherian dcherian enabled auto-merge (squash) May 27, 2025 18:11
@sjperkins
Copy link
Contributor Author

The RTD failure seems unrelated. Is there anything else needed from my side?

@kmuehlbauer kmuehlbauer disabled auto-merge May 29, 2025 19:12
@kmuehlbauer kmuehlbauer enabled auto-merge (squash) May 29, 2025 19:12
@dcherian dcherian disabled auto-merge May 30, 2025 02:50
@dcherian dcherian enabled auto-merge (squash) May 30, 2025 02:51
@kmuehlbauer
Copy link
Contributor

@dcherian Sorry for disabling automerge yesterday by accident. Fat fingers in the GH App 🤷‍♂️

@dcherian dcherian merged commit 6300288 into pydata:main May 30, 2025
31 checks passed
Copy link

welcome bot commented May 30, 2025

Congratulations on completing your first pull request! Welcome to Xarray! We are proud of you, and hope to see you again! celebration gif

@sjperkins sjperkins deleted the add-missing-abc-methods branch May 30, 2025 08:57
@kmuehlbauer
Copy link
Contributor

Thanks @sjperkins!

dcherian added a commit to dcherian/xarray that referenced this pull request May 30, 2025
* main:
  Fix performance regression in interp from pydata#9881 (pydata#10370)
  html repr: improve style for dropdown sections (pydata#10354)
  Grouper tweaks. (pydata#10362)
  Docs: Add links to getting help mermaid diagram (pydata#10324)
  Enforce ruff/flynt rules (FLY) (pydata#10375)
  Add missing AbstractWritableDataStore base methods and arguments (pydata#10343)
  Improve html repr in dark mode (Jupyterlab + Xarray docs) (pydata#10353)
  Pin Mypy to 1.15 (pydata#10378)
  use numpy dtype exposed by zarr array instead of metadata.data_type (pydata#10348)
  Fix doc typo for caption "Interoperability" (pydata#10374)
  Implement cftime vectorization as discussed in PR pydata#8322 (pydata#8324)
  Enforce ruff/flake8-pyi rules (PYI) (pydata#10359)
  Apply assorted ruff/Pylint rules (PL) / Enforce PLE rules (pydata#10366)
  (fix): pandas extension array repr for int64[pyarrow] (pydata#10317)
  Enforce ruff/flake8-implicit-str-concat rules (ISC) (pydata#10368)
  Enforce ruff/refurb rules (FURB) (pydata#10367)
  Ignore ruff/Pyflakes rule F401 more precisely (pydata#10369)
  Apply assorted ruff/flake8-simplify rules (SIM) (pydata#10364)
  Apply assorted ruff/flake8-pytest-style rules (PT) (pydata#10363)
  Fix "a array" misspelling (pydata#10365)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants