Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Add support for reading only some batches of fields - #113

Open
eranl wants to merge 1 commit into
nmakel:masterfrom
eranl:batches
Open

eranl wants to merge 1 commit into
nmakel:masterfrom
eranl:batches

Conversation

@eranl

@eranl eranl commented Mar 25, 2025

Copy link
Copy Markdown

Add an optional batches parameter to read_all, which limits reading to only the batches specified. This makes reading more efficient, and code for checking for partial read failures simpler.

Sample use:

inverter_values = inverter.read_all(batches=(2, 6))

Possible alternative: add a separate read_batches function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant