Skip to content

Conversation

@milov-dmitriy
Copy link
Collaborator

Небольшие правки замечаний от копилоты

@milov-dmitriy milov-dmitriy self-assigned this Feb 3, 2026
Copilot AI review requested due to automatic review settings February 3, 2026 10:38
@milov-dmitriy milov-dmitriy requested review from rimu-stack and removed request for Copilot February 3, 2026 10:38
Copy link
Contributor

Copilot AI left a 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_vals to old_vals with proper Pydantic Field definition
  • Updated attribute name comparisons to use change.l_type for consistency
  • Fixed parameter naming from message to error_message in error responses
  • Added error handling for KRBAPIRenamePrincipalError
  • Optimized base_dir to be lazily loaded only when needed

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rimu-stack rimu-stack merged commit 99d45e9 into dev Feb 3, 2026
18 checks passed
@rimu-stack rimu-stack deleted the rename_entry_task_1110 branch February 3, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants