-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[FEATURE] MetricListMetricRetriever - 0.18.x #9615
Conversation
…f/zel-455/zel-488/metric-list-retriever-and-tests * f/zel-455/zel-488/cdm-code-moved-to-parent-class: from metrics_calculator
❌ Deploy Preview for niobium-lead-7998 failed.
|
great_expectations/experimental/metric_repository/metric_list_metric_retriever.py
Show resolved
Hide resolved
exception=exception, | ||
) | ||
|
||
def _get_table_column_types(self, batch_request: BatchRequest) -> Metric: |
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.
same as above
exception=exception, | ||
) | ||
|
||
def _get_table_columns(self, batch_request: BatchRequest) -> Metric: |
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.
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: |
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.
same as above
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), |
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.
This was moved to the metric_retriever.py
parent class
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.
yessssssssssss
metrics = metric_retriever.get_metrics( | ||
batch_request=mock_batch_request, metric_list=cdm_metrics_list | ||
) | ||
# why is this not sorted? |
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.
?
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.
ha oops. This should go away
ColumnDescriptiveMetricsMetricRetriever
to parent class (0.18.x) #9612, which refactoredColumnDescriptiveMetricsMetricRetriever
code to parent class.MetricListMetricRetriever
and associated unit + integration tests.develop
with identical changes.invoke lint
(usesruff format
+ruff check
)