Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Reader, asHistoryBuffer argument doesnt work for HDB++ #9

Open
sergirubio opened this issue Jul 20, 2018 · 0 comments
Open

Reader, asHistoryBuffer argument doesnt work for HDB++ #9

sergirubio opened this issue Jul 20, 2018 · 0 comments

Comments

@sergirubio
Copy link
Collaborator

In [32]: rd.get_attributes_values([a for a in attrs if 'scw' in a and ('t1' in a or 't2' in a)],-30,N=1,asHistoryBuffer=True)

...python/PyTangoArchiving/reader.pyc in get_attribute_values(self, attribute, start_date, stop_date, asHistoryBuffer, decimate, notNone, N, cache, fallback)
881 #Simulating DeviceAttributeHistory structs
882 if asHistoryBuffer:
--> 883 values = [FakeAttributeHistory(*v) for v in values]
884
885 #Array index is an string or None

TypeError: FakeAttributeHistory constructor argument after * must be an iterable, not instance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant