Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.

Conversation

@vlahupetar
Copy link

2 minor fixes.
commit bb7569e checks whether there were filters set in the query and if not doesn't add them to the query url. the problem is that when looker signs the url it sorts the empty params on the top of the list so their url looks like: http://host:port/resource/?&fields=.... while the url that looker-python-sdk produces looks like http://host:port/resource?fields=...&&

commit 1bbfa0d removes the field sorting. Looker API docs are a bit confusing on this but the Ruby SDK is more specific: The fields order determines the resulting data order

vlahupetar and others added 4 commits November 24, 2014 15:45
added a code to check whether the user has suplied filters and if not
reshape the looker api url so it is correctly signed
added test case for queries with no filters
per looker api the fields order will determine the order of returned
fields
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant