Skip to content

Getting multiple pages for raw data service returns error when using outputFormat=object #72

Description

@kan-fu

Reported by Angela. To reproduce,

from onc import ONC

onc = ONC()
deviceCode = 'RBRQUARTZ3BPRZERO207223'
params = {
    "outputFormat": "object",
    "deviceCode": deviceCode,
    "dateFrom": "2022-04-05T03:28:19.917Z",
    "dateTo": "2022-04-06T00:00:00.000Z",
}
                
onc.getRawdata(params, allPages=True)

The root cause is that using outputFormat=object changes the format of the response. Scalar data service might also have this issue.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions