Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

YACHT-1052: Refactor current filtering code so it is extensible #77

Merged
merged 10 commits into from
Oct 8, 2018

Conversation

jarekdrabek
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Oct 3, 2018

Pull Request Test Coverage Report for Build 736

  • 60 of 72 (83.33%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 81.319%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/slo/backup_creation_latency/latency_sli_service.py 32 33 96.97%
src/slo/sli_handlers.py 0 3 0.0%
src/slo/backup_creation_latency/latency_sli_handler.py 0 8 0.0%
Totals Coverage Status
Change from base Build 719: 0.2%
Covered Lines: 2368
Relevant Lines: 2912

💛 - Coveralls


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))
Copy link
Contributor

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.

Copy link
Contributor Author

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))
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected

@jarekdrabek jarekdrabek merged commit acae920 into master Oct 8, 2018
@radkomateusz radkomateusz deleted the YACHT-1052 branch October 18, 2018 09:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants