8000 Feature/store list methods async generators by jhamman · Pull Request #1782 · zarr-developers/zarr-python · GitHub
[go: up one dir, main page]

Skip to content

Feature/store list methods async generators #1782

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

Conversation

jhamman
Copy link
Member
@jhamman jhamman commented Apr 10, 2024

Putting this PR up for discussion at tomorrow's refactor meeting.

on top of #1743

cc @d-v-b
TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

d-v-b and others added 23 commits March 26, 2024 21:04
…and add some docstrings, and remove redundant def
…ocalStore.get_partial_values to properly handle the byte_range parameter of LocalStore.get.
@pep8speaks
Copy link
pep8speaks commented Apr 10, 2024

Hello @jhamman! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 313:83: W291 trailing whitespace
Line 319:101: E501 line too long (101 > 100 characters)
Line 320:101: E501 line too long (102 > 100 characters)

Line 161:5: E303 too many blank lines (2)
Line 177:5: E303 too many blank lines (2)
Line 192:1: W293 blank line contains whitespace

Line 59:29< 8000 /a>: E203 whitespace before ':'

Comment last updated at 2024-04-19 03:22:52 UTC


async with aitercontext(children) as safe_children:
async for child in safe_children:
yield child
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@d-v-b - take a look here.

d-v-b added 22 commits April 12, 2024 14:35
…and add some docstrings, and remove redundant def
…ocalStore.get_partial_values to properly handle the byte_range parameter of LocalStore.get.
… any member of a set); comment out / avoid tests that cannot pass right now; don't consider implicit groups for v2; check if prefix is present in storage before opening for Group.getitem
…keys returns None; correctly create intermediate directories when preparing test data in test_local_store_get_partial
…es if zarr_format is not 3), and xfail the tests that will hit this condition. add tests for create_group, create_array, and update_attributes methods of asyncgroup.
@jhamman jhamman force-pushed the feature/store-list-methods-async-generators branch from 94b00c7 to 7dff5e5 Compare April 19, 2024 03:05
@jhamman
Copy link
Member Author
jhamman commented Apr 19, 2024

closing in favor of d-v-b#110

@jhamman jhamman closed this Apr 19, 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

Successfully merging this pull request may close these issues.

3 participants
0