Skip to content

Handle case where SimpleLazyObject being treated as an Iterable #255

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

Merged
merged 3 commits into from
Apr 9, 2020

Conversation

hemache
Copy link
Contributor

@hemache hemache commented Mar 10, 2020

fixes #155

@safwanrahman
Copy link
Collaborator

@hemache Thanks for your PR. I am thinking about the situation where the SimpleLazyObject is a ctually a iterable, in the scenario, it will not work.

@safwanrahman safwanrahman self-assigned this Mar 12, 2020
@safwanrahman
Copy link
Collaborator

@hemache Sorry for asking you, will you have some time to make the changes?

@fabio-filho
Copy link

@hemache, do you need some help ?

@hemache
Copy link
Contributor Author

hemache commented Apr 7, 2020

hi guy, I'm really sorry I didn't have time to work on this lately, I would appreciate any help you could provide

@hemache
Copy link
Contributor Author

hemache commented Apr 7, 2020

@safwanrahman you're right, I accepted your suggested changes.

@andreasnuesslein
Copy link
Contributor

Also, first line: import collections is unnecessary now.

@safwanrahman
Copy link
Collaborator

LGTM. r+

@safwanrahman safwanrahman merged commit 777e9da into django-es:master Apr 9, 2020
@hemache hemache deleted the patch-1 branch April 9, 2020 09:57
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.

User as SimpleLazyObject not possible to index
4 participants