Skip to content

feat: add .store attribute to retrieve store input#90

Merged
kylebarron merged 7 commits into
mainfrom
kyle/store-attribute
Jul 20, 2026
Merged

feat: add .store attribute to retrieve store input#90
kylebarron merged 7 commits into
mainfrom
kyle/store-attribute

Conversation

@kylebarron

@kylebarron kylebarron commented Jul 20, 2026

Copy link
Copy Markdown
Member

Change list

  • Store PyAsyncStorage object within PyAsyncArray and PyAsyncGroup. Store PySyncStorage object within PyArray and PyGroup. This is needed because otherwise the store input is type erased. It's fully converted to a Rust type-erased Arc which doesn't know which input Python type it would need to be associated back with. Instead, we can return the user's input object directly.
  • Add .store getters to retrive input store
  • Add conversions from PyAsyncStorage and PySyncStorage back to Python objects.

This will be needed for pickling anyways, see #89

Closes #86

@kylebarron kylebarron changed the title feat: add .store attribute to access store input from feat: add .store attribute to retrieve store input Jul 20, 2026
@kylebarron kylebarron self-assigned this Jul 20, 2026
@kylebarron
kylebarron requested a review from d-v-b July 20, 2026 14:06
@kylebarron
kylebarron enabled auto-merge (squash) July 20, 2026 14:48
@kylebarron
kylebarron merged commit f1f0c28 into main Jul 20, 2026
13 checks passed
@kylebarron
kylebarron deleted the kyle/store-attribute branch July 20, 2026 14:50
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.

expose methods on python store classes

1 participant