Skip to content

Apply variable expansion to default values#204

Merged
sloria merged 2 commits intosloria:masterfrom
rjcohn:feature/default-var-expansion
Feb 7, 2021
Merged

Apply variable expansion to default values#204
sloria merged 2 commits intosloria:masterfrom
rjcohn:feature/default-var-expansion

Conversation

@rjcohn
Copy link
Copy Markdown
Contributor

@rjcohn rjcohn commented Feb 4, 2021

If a default includes a reference to a variable, expand that reference.
See test_environs.test_default_expands.
Note: type for subs_default is required because of a bug in mypy:
python/mypy#5423

Richard Cohn and others added 2 commits February 4, 2021 11:42
If a default includes a reference to a variable, expand that reference.
See test_environs.test_default_expands.
Note: type for subs_default is required because of a bug in mypy:
  python/mypy#5423
@sloria sloria merged commit dad57b7 into sloria:master Feb 7, 2021
@sloria
Copy link
Copy Markdown
Owner

sloria commented Feb 7, 2021

Thanks! This is released in 9.3.1.

@rjcohn
Copy link
Copy Markdown
Contributor Author

rjcohn commented Feb 7, 2021

Thank you!

@rjcohn rjcohn deleted the feature/default-var-expansion branch February 7, 2021 21:51
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