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

Refactor/index management #1097

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mykolaskrynnyk
Copy link
Contributor

This request improves the readability and maintainability of classes and functions related to index management:

  • adds a __hash__ method to IndexModelField to allow set operations on collections of indexes.
  • removes limited-use @staticmethods from IndexModelField in favour of explicit set operations to reduce verbosity.
  • enhances the readability of init_indexes function by reducing clutter and using self-explanatory variable names.

@mykolaskrynnyk mykolaskrynnyk marked this pull request as draft January 3, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant