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

Consider making code more DRY in constructor in regards to if None then my_list = [] #127

Open
nh916 opened this issue May 31, 2023 · 0 comments

Comments

@nh916
Copy link
Contributor

nh916 commented May 31, 2023

Description

We have code like this in a bunch of places

if computation_process is None:
    computation_process = []

I think this was good for V1, but as we move towards V2 we need to start looking to upgrade this code to some function, change within the constructor, or class to make the code simpler and more DRY

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