-
Notifications
You must be signed in to change notification settings - Fork 6.5k
composer/rest/get_client_id.py has has issues on giving arguments #5546
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
Comments
Hey! Thanks for filing this! I suspect you are also Ricco D, the first answer on it, and if that's true, thank you for that as well! I added an additional answer. For anyone too lazy to flip back and forth between StackOverflow and here, the tl;dr is
|
Hey @leahecole - is there any work pending to do on this ? If so would be happy to help ! |
Hey @scouvreur ! This is in my forever backlog but let me fill you and any future readers in on where I'm at Long term vision (probably not before the end of Q2):
Short term plan (either already done or ideally will be done before end of Q2):
Added bonus
curl -v AIRFLOW_URL 2>&1 >/dev/null | grep -o "client_id\=[A-Za-z0-9-]*\.apps\.googleusercontent\.com" where AIRFLOW_URL is the URL of your Airflow webserver It'll return something like |
Awesome @leahecole - thanks for the detailed explanation ! I will open a PR with some improvements you proposed and maybe we can continue the discussion there ? |
## Description Fixes #5546 ## Checklist - [x] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md) - [x] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#readme-file) - [x] **Tests** pass: `nox -s py-3.6` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [x] **Lint** pass: `nox -s lint` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones) - [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones) - [x] Please **merge** this PR for me once it is approved. - [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/CODEOWNERS) with the codeowners for this sample
Uh oh!
There was an error while loading. Please reload this page.
In which file did you encounter the issue?
composer/rest/get_client_id.py
Did you change the file? If so, how?
Original:
Fixed locally:
Describe the issue
When running script error shows
Needs to add '--' on the arguments. Issue was encountered here https://stackoverflow.com/questions/66400667
The text was updated successfully, but these errors were encountered: