-
Notifications
You must be signed in to change notification settings - Fork 67
API server code health pass - rename *Pair classes to *Set #1060
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
Conversation
05c4c4d
to
72f9cb8
Compare
for pair in source_signals: | ||
source = data_source_by_id.get(pair.source) | ||
transformed_sets: List[SourceSignalSet] = [] | ||
for set in source_signals: |
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.
similar to comment above; perhaps use ssset
here?
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.
That name feelsss very Pythonic... 🐍
d11e4ce
to
888897d
Compare
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.
lgtm!
Partially addresses #998.
Prerequisites:
dev
branchdev
Summary
Fixes a set of issues in the server code as described here.
*Pair
classes (TimePair
,GeoPair
,SourceSignalPair
) into*Set.
WHERE
conditional. In this case they are referred to as filters.