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

updated Python examples to explain latest syntax#51

Open
ContrastingSounds wants to merge 1 commit into
looker-open-source:masterfrom
ContrastingSounds:jon-python-examples
Open

updated Python examples to explain latest syntax#51
ContrastingSounds wants to merge 1 commit into
looker-open-source:masterfrom
ContrastingSounds:jon-python-examples

Conversation

@ContrastingSounds

Copy link
Copy Markdown

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
Copy Markdown

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>.

@rollyjoel

Copy link
Copy Markdown
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