Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

(Authorization) Headers for individual queries #852

Open
@DrakezulsMinimalism

Description

@DrakezulsMinimalism
  • 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.

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