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

Python: An example custom config reader #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

josephaxisa
Copy link
Contributor

No description provided.

@josephaxisa josephaxisa requested a review from joeldodge79 March 19, 2020 13:18
Copy link
Contributor

@joeldodge79 joeldodge79 left a comment

Choose a reason for hiding this comment

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

thanks for jumping on this! but let's hold off till I have the Python SDK trued up, at least with regards to the PApiSettings interface

Comment on lines 25 to 29
def get_client_id(self) -> str:
return "client_id"

def get_client_secret(self) -> str:
return "client_id"
Copy link
Contributor

Choose a reason for hiding this comment

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

ug, so this was a discrepancy that needs to be fixed. typescript/looker/rtl/apiSettings.ts exposes readConfig as opposed to get_client_id and get_client_secret. That's because we're going to have other means (like the new OAuth stuff). We should implement extracting the client id/secret inside the auth session login.

Let's hold off on merging this till I fix that up. Then this example will implement read_config() and put "client_id" and "client_secret" keys into the "bag"

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.

2 participants