Skip to content

Replace default mutable arguments with None - #111

Merged
lbalmaceda merged 1 commit into
masterfrom
fix-mutable-args
Jun 22, 2018
Merged

lbalmaceda merged 1 commit into
masterfrom
fix-mutable-args

Conversation

@lbalmaceda

Copy link
Copy Markdown
Contributor

This PR fixes a possible issue with default mutable arguments. More info here.

The request library has as default None for all optional arguments so this is not a breaking change. (source)

Related PR: #93

@lbalmaceda lbalmaceda added this to the v3-Next milestone Jun 19, 2018
@codecov-io

codecov-io commented Jun 19, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is 96.77%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #111   +/-   ##
=======================================
  Coverage   93.46%   93.46%           
=======================================
  Files          32       32           
  Lines         643      643           
=======================================
  Hits          601      601           
  Misses         42       42
Impacted Files Coverage Δ
auth0/v3/management/rules.py 100% <100%> (ø) ⬆️
auth0/v3/management/device_credentials.py 100% <100%> (ø) ⬆️
auth0/v3/management/emails.py 94.73% <100%> (ø) ⬆️
auth0/v3/management/clients.py 100% <100%> (ø) ⬆️
auth0/v3/authentication/passwordless.py 100% <100%> (ø) ⬆️
auth0/v3/management/connections.py 100% <100%> (ø) ⬆️
auth0/v3/management/users.py 100% <100%> (ø) ⬆️
auth0/v3/management/tenants.py 100% <100%> (ø) ⬆️
auth0/v3/management/rest.py 83.15% <90%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fce4988...fa6a472. Read the comment docs.

@joshcanhelp joshcanhelp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@lbalmaceda
lbalmaceda merged commit 30c96b1 into master Jun 22, 2018
@lbalmaceda
lbalmaceda deleted the fix-mutable-args branch June 22, 2018 16:42
@lbalmaceda lbalmaceda modified the milestones: v3-Next, 3.3.0 Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants