Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CmdlineParser available during execution summary (#2411) #2415

Merged
merged 2 commits into from
May 7, 2018

Conversation

mcarlsen
Copy link
Contributor

@mcarlsen mcarlsen commented May 7, 2018

Description

Wrapping the call to _summary_dict in a CmdlineParser context manager makes command line params available to Task/Config objects in e.g. requires which may be invoked while generating the execution summary.

Motivation and Context

Fixes #2411

Have you tested this? If so, how?

Tested in cmdline_tests.py

@Tarrasch Tarrasch merged commit 5f15649 into spotify:master May 7, 2018
@Tarrasch
Copy link
Contributor

Tarrasch commented May 7, 2018

Thank you! I took the liberty to change the commit message. Hope you don't mind!

@mcarlsen
Copy link
Contributor Author

mcarlsen commented May 8, 2018

No worries!

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.

3 participants