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

Use 'md' argument to plans instead of mutating RE.md inside plans. #18

Open
danielballan opened this issue Aug 25, 2020 · 0 comments
Open

Comments

@danielballan
Copy link
Contributor

There are 140 occurrences of RE.md inside the profile, mostly plans modifying it. It would be better to do

def my_plan(...):
    yield from count(..., md={...})

rather than

def my_plan(...):
    RE.md.update({...})
    yield from count(...)
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

No branches or pull requests

1 participant