-
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
[MAINTENANCE] Add docstrings and type hints to Anonymizer
#4419
[MAINTENANCE] Add docstrings and type hints to Anonymizer
#4419
Conversation
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…class_recognized-helper-in-anonymizer
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
✔️ Deploy Preview for niobium-lead-7998 ready! 🔨 Explore the source changes: e1082b5 🔍 Inspect the deploy log: https://app.netlify.com/sites/niobium-lead-7998/deploys/6230d4e1529d1d000ac349a3 😎 Browse the preview: https://deploy-preview-4419--niobium-lead-7998.netlify.app |
…_expectations into maintenance/great-617/refactor-is_parent_class_recognized-helper-in-anonymizer
…class_recognized-helper-in-anonymizer
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.
Thank you very very much @cdkini
@property | ||
def anonymizer(self) -> Anonymizer: | ||
return self._anonymizer | ||
|
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.
❤️
"""Obsfuscates a given string using an MD5 hash. | ||
|
||
Utilized to anonymize user-specific/sensitive strings in usage statistics payloads. | ||
|
||
Args: | ||
string_ (Optional[str]): The input string to anonymize. | ||
|
||
Returns: | ||
The MD5 hash of the input string. If an input of None is provided, the string is untouched. | ||
|
||
Raises: | ||
TypeError if input string does not adhere to type signature Optional[str]. | ||
""" |
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.
❤️
…hub.com/great-expectations/great_expectations into feature/GREAT-500/add-notebooks-for-rbp * 'feature/GREAT-500/add-notebooks-for-rbp' of https://github.com/great-expectations/great_expectations: [FEATURE] Use more granular requirements-dev-xxx.txt files (#4327) standardise on include and exclude columns list for profiler (#4424) [MAINTENANCE] Continue chipping away at warnings (#4422) [MAINTENANCE] Add docstrings and type hints to `Anonymizer` (#4419) Replace "sampling_method" with "estimator", since the latter is a more fitting name for the parameter. (#4420) [BUGFIX] Adding `--spark` flag back to `azure-pipelines.yml` compatibility_matrix stage. (#4418) [MAINTENANCE] Refactor out unnecessary Anonymizer child classes (#4408) [BUGFIX] Pin `pytest-azurepipelines` due to breaking changes made in latest release
Changes proposed in this pull request:
Definition of Done
Please delete options that are not relevant.