-
Notifications
You must be signed in to change notification settings - Fork 104
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
Read Multiple request_dict Returns One #485
Comments
If you can test develop branch, your proposal is added Thanks |
@bill-clapham please add details as I thought it was fixed |
Hi Christian, thanks for looking in to this. Sample code
Above code produced:
After making the suggested change to Read.py the same code produces:
The correct data is now shown but in a different structure as documented in https://bac0.readthedocs.io/en/latest/read.html Using: Again, big thanks for your work Christian 👍👍 |
Have you tried the develop branch to see if the issue is fixed ? |
I believe there is a bug in the readMultiple method when providing request_dict. It looks like in each iteration of the response, it resets the request_dict[object_identifier] to an empty list. This works fine for single properties but only returns the last property when multiple are provided.
BAC0/BAC0/core/io/Read.py
Lines 297 to 317 in ef972e3
Suggestion in place of:
BAC0/BAC0/core/io/Read.py
Line 317 in ef972e3
to
The text was updated successfully, but these errors were encountered: