-
Notifications
You must be signed in to change notification settings - Fork 427
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
IndexMeta removal prevents index class reuse #1190
Comments
We could allow reuse since an index should only be useable as an instance on a model, i.e. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#998
This PR has made index class reuse impossible, due in part by the
__set_name__
method on the index class setting the first model it's used on.Prior to this change, it was possible to define an index class and use it on multiple models. Now we see:
I suspect this is the problem for this reported bug:
#1026
The text was updated successfully, but these errors were encountered: