Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

updated Python examples to explain latest syntax #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ContrastingSounds
Copy link

It was a bit confusing having both syntaxes in the code examples (sdk = client.setup(), sdk = looker_sdk.init31(). The older examples still have value, so put them into a folder and updated README. Also, added a run_line_query example..

Comment on lines +8 to +11
fields = [
'hits_eventInfo.eventAction',
'hits_eventInfo.eventCategory',
]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps useful to clarify fields and sort_order take input as <model>.<dimension|measure>.

@joeldodge79
Copy link
Contributor

@ContrastingSounds sorry this slipped of my radar. I think we updated the examples to just reflect the latest method of client instantiation. But I see you added an example here for run_inline_query. I'd be happy to get that in if you want to re-submit it (either rebase this PR or just close it and open a new one with that example)

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.

3 participants