-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor: RenameRequest entry (copilot fixes) #923
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
Conversation
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.
Pull request overview
This PR applies minor refactoring fixes suggested by Copilot to the ModifyRequest class in the LDAP protocol implementation. The changes include code quality improvements, better naming conventions, and optimizations.
Changes:
- Refactored
_old_valstoold_valswith proper Pydantic Field definition - Updated attribute name comparisons to use
change.l_typefor consistency - Fixed parameter naming from
messagetoerror_messagein error responses - Added error handling for
KRBAPIRenamePrincipalError - Optimized
base_dirto be lazily loaded only when needed
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Небольшие правки замечаний от копилоты