Skip to content

Setting bearer_auth on a session level #155

Open
@leonsas

Description

@leonsas

So a few of the APIs I work with use a bearer_auth=False model, i.e I need to pass the access token as a GET param.
So I find myself writing setting the bearer_auth kwarg on every get call. Turns out it's easy to simply forget that and cause unexpected errors.

Thoughts on adding an option to set bearer_auth=False when initializing the session object?
Should be extremely easy and I could contribute, but just wondering if there is good reason against it?

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