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

TXTResultSerializer should not sort the columns alphabetically #1249

Closed
harrikoo opened this issue Feb 5, 2021 · 1 comment · Fixed by #1310
Closed

TXTResultSerializer should not sort the columns alphabetically #1249

harrikoo opened this issue Feb 5, 2021 · 1 comment · Fixed by #1310

Comments

@harrikoo
Copy link

harrikoo commented Feb 5, 2021

The order of the fields is defined in the SPARQL query provided by the user. The library should not change this order. The user has defined the order of the data in the query, and the library has no need to change that order.

keys = sorted(self.result.vars)

@white-gecko
Copy link
Member

Sound reasonable. Are you going to provide a pull-request for this?

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 a pull request may close this issue.

2 participants