Skip to content

Conversation

@warrengray
Copy link
Contributor

@warrengray warrengray commented Jun 5, 2020

Fixes #6565

The changes are backward compatible with existing wiring since we're only adding optional keyword arguments.

Please forgive me if I've missed something in the contributing guidelines.

@taxpon @frol @mbohlool @cbornet @kenjones-cisco @tomplus @Jyhess @arun-nalla @spacether

PR checklist

  • Read the contribution guidelines.
  • If contributing template-only or documentation-only changes which will change sample output, build the project before.
  • Run the shell script(s) under ./bin/ (or Windows batch scripts under.\bin\windows) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run ./bin/{LANG}-petstore.sh, ./bin/openapi3/{LANG}-petstore.sh if updating the code or mustache templates for a language ({LANG}) (e.g. php, ruby, python, etc).
  • File the PR against the correct branch: master, 4.3.x, 5.0.x. Default: master.
  • Copy the technical committee to review the pull request if your PR is targeting a particular programming language.

@warrengray warrengray force-pushed the python-access-token branch from ea153f7 to f0229a6 Compare June 5, 2020 21:18
@warrengray warrengray marked this pull request as ready for review June 5, 2020 23:37
@warrengray warrengray changed the title Enable per-request access token in Python client. [python-client] Enable per-request access tokens Jun 5, 2020
@warrengray warrengray changed the title [python-client] Enable per-request access tokens [python-client] Enable per-request auth settings Jun 8, 2020
Copy link
Contributor

@spacether spacether left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. Your solution looks good, there is just a small issue where multiple instances of the same auth info can be attached to a request. I noted it in a comment. Can you take a look at it and tweak it so we fix that issue?

@warrengray warrengray force-pushed the python-access-token branch from a9e5fc2 to 4a4b7dd Compare June 10, 2020 17:10
@warrengray warrengray force-pushed the python-access-token branch from 4a4b7dd to a8a7672 Compare June 10, 2020 18:49
@warrengray warrengray requested a review from spacether June 10, 2020 20:17
Copy link
Contributor

@spacether spacether left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you for the PR!

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.

[REQ] [Python] Support per-request auth settings

3 participants