This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
YACHT-1052: Refactor current filtering code so it is extensible #77
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…aming and package moving
…rier to SLIResultsStreamer
…e used by new SLI
Pull Request Test Coverage Report for Build 736
💛 - Coveralls |
przemyslaw-jasinski
suggested changes
Oct 3, 2018
|
||
logging.info("%s days SLI tables filtered from %s to %s", self.x_days, | ||
len(all_tables), len(filtered_tables)) | ||
self.streamer.stream(filtered_tables, snapshot_marker=self.__create_snapshot_marker_row(snapshot_time, self.x_days)) |
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.
It breaks our max line length convention.
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.
Corrected
def __init__(self, x_days): | ||
self.x_days = x_days | ||
big_query = BigQuery() | ||
self.querier = SLIViewQuerier(big_query, LatencyQuerySpecification(self.x_days)) |
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.
It exceeds the max number of line length
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.
Corrected
radkomateusz
approved these changes
Oct 8, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.