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

[FEATURE] MetricListMetricRetriever - 0.18.x #9615

Merged

Conversation

Shinnnyshinshin
Copy link
Contributor

@Shinnnyshinshin Shinnnyshinshin commented Mar 12, 2024

  • Description of PR changes above includes a link to an existing GitHub issue
  • PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
  • Code is linted - run invoke lint (uses ruff format + ruff check)
  • Appropriate tests and docs have been updated

@Shinnnyshinshin Shinnnyshinshin changed the base branch from develop to 0.18.x March 12, 2024 22:36
Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for niobium-lead-7998 failed.

Name Link
🔨 Latest commit 35201de
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/65f0d8c7219e540008d940b7

@Shinnnyshinshin Shinnnyshinshin self-assigned this Mar 12, 2024
@Shinnnyshinshin Shinnnyshinshin marked this pull request as ready for review March 12, 2024 23:53
exception=exception,
)

def _get_table_column_types(self, batch_request: BatchRequest) -> Metric:
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

exception=exception,
)

def _get_table_columns(self, batch_request: BatchRequest) -> Metric:
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

metrics.append(self._get_table_column_types(batch_request=batch_request))
return metrics

def _get_table_row_count(self, batch_request: BatchRequest) -> Metric:
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

Comment on lines -81 to -83
self._get_table_row_count(batch_id, computed_metrics, aborted_metrics),
self._get_table_columns(batch_id, computed_metrics, aborted_metrics),
self._get_table_column_types(batch_id, computed_metrics, aborted_metrics),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was moved to the metric_retriever.py parent class

Copy link
Contributor

Choose a reason for hiding this comment

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

yessssssssssss

metrics = metric_retriever.get_metrics(
batch_request=mock_batch_request, metric_list=cdm_metrics_list
)
# why is this not sorted?
Copy link
Contributor

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ha oops. This should go away

@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2024
@Shinnnyshinshin Shinnnyshinshin added this pull request to the merge queue Mar 15, 2024
Merged via the queue into 0.18.x with commit 7b483d5 Mar 15, 2024
57 checks passed
@Shinnnyshinshin Shinnnyshinshin deleted the f/zel-455/zel-488/metric-list-retriever-and-tests branch March 15, 2024 16:40
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

Successfully merging this pull request may close these issues.

2 participants