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
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
InfluxDB-python version: 5.3.0
InfluxDB, Python and OS are not relevant as the implementation simple does not pass the headers individually
Could we add headers to individual queries?
The client allows headers at construction and for individual "client.request" calls, which is what "client.query" uses internally, however, the query-method does not accept the parameter "headers" currently.
The idea is to have shared clients at the backend for multiple front-end users by only passing the respective authorization headers. I would/will make the changes and submit a pull-request if nobody has concerns for this approach for other (internal) reasons that I have not come across yet.
The text was updated successfully, but these errors were encountered:
InfluxDB, Python and OS are not relevant as the implementation simple does not pass the headers individually
Could we add headers to individual queries?
The client allows headers at construction and for individual "client.request" calls, which is what "client.query" uses internally, however, the query-method does not accept the parameter "headers" currently.
The idea is to have shared clients at the backend for multiple front-end users by only passing the respective authorization headers. I would/will make the changes and submit a pull-request if nobody has concerns for this approach for other (internal) reasons that I have not come across yet.
The text was updated successfully, but these errors were encountered: