Skip to content

[REQ] Migrate enable per request authentification in new python codegen #11278

@ghost

Description

Is your feature request related to a problem? Please describe.

Actually in current python authentification is managed in api configuration.
But when you instantiate a new configuration, a new thread poll is create with it, so each time you need to change your authentification key, you will create a thread poll which will pull down the performance of the application.

We could have a global configuration and change the authentification but it will not be thread safe.

Describe the solution you'd like

The solution was already developed in python-legacy but it has not be migrated.
As designed in this PR #6569
Overwrite the authentification in the request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions