-
Notifications
You must be signed in to change notification settings - Fork 37
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
Remove init_default function #545
Remove init_default function #545
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #545 +/- ##
===========================================
- Coverage 71.12% 69.74% -1.39%
===========================================
Files 65 65
Lines 4544 4571 +27
===========================================
- Hits 3232 3188 -44
- Misses 1312 1383 +71
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small requests, but nothing worth holding up approval over! LGTM!!
smartsim/entity/dbobject.py
Outdated
inputs = inputs or [] | ||
outputs = outputs or [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these to lines needed? They look redundant to line 84.
This PR removes the helper function `init_default` and instead implements traditional type narrowing. [ reviewed by @MattToast ] [ committed by @amandarichardsonn ]
This PR removes the helper function `init_default` and instead implements traditional type narrowing. [ reviewed by @MattToast ] [ committed by @amandarichardsonn ]
This PR removes the helper function
init_default
and instead implements traditional type narrowing.