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

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

@sergirubio

Description

@sergirubio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions