Skip to content

Fixed default parameters matching to support None as a default parameter value#205

Open
AlexeyTarasov77 wants to merge 1 commit into
bobthemighty:mainfrom
AlexeyTarasov77:fix/support-parameter-default-none
Open

Fixed default parameters matching to support None as a default parameter value#205
AlexeyTarasov77 wants to merge 1 commit into
bobthemighty:mainfrom
AlexeyTarasov77:fix/support-parameter-default-none

Conversation

@AlexeyTarasov77

Copy link
Copy Markdown

Fixes #204
Now _match_defaults uses "empty" object as fill value for args without default value to don't exclude args with None default value. _resolve_impl was also changed to differentiate between None and unsupplied value

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.

Default parameters can still raise MissingDependencyError

1 participant