Skip to content

Add option for setting a custom requests.Session#168

Open
bsquizz wants to merge 1 commit intopyopenapi:developfrom
bsquizz:custom_session
Open

Add option for setting a custom requests.Session#168
bsquizz wants to merge 1 commit intopyopenapi:developfrom
bsquizz:custom_session

Conversation

@bsquizz
Copy link

@bsquizz bsquizz commented Nov 28, 2018

This would allow a Session instantiated from outside the client (that already had been configured with some cookies, headers, auth data, etc.) to be passed into the requests client either with a session kwarg at __init__ time, or at some point after the client is in use by calling client.set_session(my_session)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants