Skip to content

rest_client.get_timeseries() return #3

@jaimef1603

Description

@jaimef1603

RestClient.get_timeseries() method returns an object of type DeferredResultResponseEntity which always has following properties:

{
    'result': None,
    'set_or_expired': None
}

I have tried the same requests to same urls and same parameters using plain python requests library and I get correct results (actual timeseries data I have saved in thingsboard), so I dont know why the result property is None when I use get_timeseries() method. What is the correct way of extracting the result from DeferredResultResponseEntity object?

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