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

conditions check sorting #596

Open
manuelep opened this issue Sep 24, 2019 · 1 comment
Open

conditions check sorting #596

manuelep opened this issue Sep 24, 2019 · 1 comment

Comments

@manuelep
Copy link

if isinstance(field.type, str) and field.type.startswith('geo') and \

It seams in this line the last condition check should be the first because if the object passed is not a Field it should not have neither the type attribute I guess... is it right?

@valq7711
Copy link
Contributor

No, it can also be type of Expression

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

No branches or pull requests

2 participants