Skip to content

Support Request Sessions #54

@davidhessler

Description

@davidhessler

Is your feature request related to a problem? Please describe.
I'm frustrated by the fact that I cannot use a custom request Session in this library. There are times I would like to modify how requests makes HTTP request (e.g. add authentication cookies, mTLS certificates, etc) and cannot do so with this library.

Describe the solution you'd like
The GraphqlClient constructor takes in an optional session parameter. If none is passed, then the constructor instantiates the default Session.

Describe alternatives you've considered
I copy graphql_client.py, make the fix. This orphan the solution from the codebase.

Additional context
I already successfully did this and would like to PR it back

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