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

[MAINTENANCE] Remove unused Metric and BatchMetric classes and consolidate ValidationMetricIdentifier with other identifiers #6693

Conversation

alexsherstinsky
Copy link
Contributor

@alexsherstinsky alexsherstinsky commented Jan 3, 2023

Scope

Currently, the classes Metric and BatchMetric in great_expectations/core/metric.py are not in use. They should be deleted. In addition, ValidationMetric is defined but not used – it should also be deleted. Finally, ValidationMetricIdentifier should be consolidated with other identifiers in the appropriate designated directory (and not be in great_expectations/core).

Please annotate your PR title to describe what the PR does, then give a brief bulleted description of your PR below. PR titles should begin with [BUGFIX], [FEATURE], [DOCS], or [MAINTENANCE]. If a new feature introduces breaking changes for the Great Expectations API or configuration files, please also add [BREAKING]. You can read about the tags in our contributor checklist.

Changes proposed in this pull request:

  • JIRA: GREAT-1358/GREAT-1506

After submitting your PR, CI checks will run and @cla-bot will check for your CLA signature.

For a PR with nontrivial changes, we review with both design-centric and code-centric lenses.

In a design review, we aim to ensure that the PR is consistent with our relationship to the open source community, with our software architecture and abstractions, and with our users' needs and expectations. That review often starts well before a PR, for example in github issues or slack, so please link to relevant conversations in notes below to help reviewers understand and approve your PR more quickly (e.g. closes #123).

Previous Design Review notes:

Definition of Done

Please delete options that are not relevant.

  • My code follows the Great Expectations style guide
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added unit tests where applicable and made sure that new and existing tests are passing.
  • I have run any local integration tests and made sure that nothing is broken.

Thank you for submitting!

Alex Sherstinsky added 3 commits January 3, 2023 14:35
…rstinsky/core/metrics/remove_batch_metric_out_of_gx_core_and_clean_up_validation_metrics_identifiers-2023_01_03-287
@netlify
Copy link

netlify bot commented Jan 3, 2023

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit 050f6b5
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/63b4bda37b442a00082e9d71
😎 Deploy Preview https://deploy-preview-6693--niobium-lead-7998.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ghost
Copy link

ghost commented Jan 3, 2023

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@alexsherstinsky alexsherstinsky requested a review from a team January 3, 2023 22:59
@alexsherstinsky alexsherstinsky marked this pull request as ready for review January 3, 2023 22:59
@alexsherstinsky alexsherstinsky enabled auto-merge (squash) January 3, 2023 23:05
…core/metrics/remove_batch_metric_out_of_gx_core_and_clean_up_validation_metrics_identifiers-2023_01_03-287
Copy link
Contributor

@Shinnnyshinshin Shinnnyshinshin left a comment

Choose a reason for hiding this comment

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

Thank you @alexsherstinsky

@alexsherstinsky alexsherstinsky merged commit 0d87b0b into develop Jan 4, 2023
@alexsherstinsky alexsherstinsky deleted the maintenance/GREAT-1358/GREAT-1506/alexsherstinsky/core/metrics/remove_batch_metric_out_of_gx_core_and_clean_up_validation_metrics_identifiers-2023_01_03-287 branch January 4, 2023 00:32
Shinnnyshinshin pushed a commit that referenced this pull request Jan 4, 2023
…/github.com/great-expectations/great_expectations into f/dx-21/dx-107/pandas-can-return-full-query

* 'f/dx-21/dx-107/pandas-can-return-full-query' of https://github.com/great-expectations/great_expectations:
  [MAINTENANCE] Remove unused Metric and BatchMetric classes and consolidate ValidationMetricIdentifier with other identifiers (#6693)
jcampbell pushed a commit that referenced this pull request Jan 11, 2023
…idate ValidationMetricIdentifier with other identifiers (#6693)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants