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

Fix case where field list contains empty value #30

Open
horde3d opened this issue Jun 12, 2023 · 0 comments
Open

Fix case where field list contains empty value #30

horde3d opened this issue Jun 12, 2023 · 0 comments

Comments

@horde3d
Copy link

horde3d commented Jun 12, 2023

I'm actually not sure what the root cause is, that in my installation the graph query contains an empty field (might depend on a custom facet based on a regex I've added) but there is an issue in case the query for the visual graph explorer contains a field list with an empty value.

To fix this I would propose to add a one liner to

fields = [x for x in fields if x.strip()]

this would remove all empty fields from the query, so it does not cause an error anymore.

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

1 participant