You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal:
Add support for the Python List data type to be used as a query parameter
Current behavior:
Defining a Python List and then attempting to use it as a query parameter with query_api.query() and the contains() function results in a influxdb_client.rest.ApiException: (400) error.
Desired behavior:
To use standard Python data types, such as Lists, without the need to write code to convert Lists into an acceptable format first. At the very least, the limitation should be documented.
Alternatives considered:
Jakub Bednář (@bednar ) on Slack suggested I use this:
Use case:
Allows users to implement their code in a Python-natural way.
Original example from Slack post for reference:
I'm trying to use the influxdb-client-python library to make (I think) a simple query, however I'm having issues using a Python list as a parameter. I feel like I'm overlooking something very simple. My non-working code:
For reference, this started off as a query on the InfluxDB Community #python Slack channel: https://influxcommunity.slack.com/archives/CHQ5VG6F8/p1629450632004000 which received a response and workaround from Jakub Bednář (@bednar ): https://influxcommunity.slack.com/archives/CHQ5VG6F8/p1629456788006500
Proposal:
Add support for the Python List data type to be used as a query parameter
Current behavior:
Defining a Python List and then attempting to use it as a query parameter with query_api.query() and the
contains()
function results in ainfluxdb_client.rest.ApiException: (400)
error.Desired behavior:
To use standard Python data types, such as Lists, without the need to write code to convert Lists into an acceptable format first. At the very least, the limitation should be documented.
Alternatives considered:
Jakub Bednář (@bednar ) on Slack suggested I use this:
Use case:
Allows users to implement their code in a Python-natural way.
Original example from Slack post for reference:
The text was updated successfully, but these errors were encountered: