cleanup: remove unused sanitize_encrypted param from diff function#958
cleanup: remove unused sanitize_encrypted param from diff function#958VedantMadane wants to merge 1 commit intoansible:develfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughSanitization for encrypted fields in the models utility now always evaluates encryption status (via is_encrypted_field, instance._encrypted_field_names, and the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
7eee6ad to
3702eb5
Compare
|
Rebased onto latest devel. I notice the DVCS check requires a Jira key (AAP-XXXXX). Is there an existing ticket this cleanup could be associated with, or would a maintainer be able to create one? Happy to update the PR title with the key. |
This PR removes the unused 'sanitize_encrypted' parameter from the 'diff' utility function and its helper '_sanitize_value'. Also updated the return docstring to correctly state that the function returns a 'ModelDiff' object instead of a dictionary.
ca0f8d1 to
f069909
Compare
|
DVCS PR Check Results: Could not find JIRA key(s) in PR title, branch name, or commit messages |
Fixes #688. This PR removes the unused \sanitize_encrypted\ parameter from the \diff\ utility and its helper _sanitize_value, and corrects the return type in the docstring.
Summary by CodeRabbit