-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
api: composerIssues related to the Cloud Composer API.Issues related to the Cloud Composer API.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
In which file did you encounter the issue?
composer/rest/get_client_id.py
Did you change the file? If so, how?
Original:
parser.add_argument('project_id', help='Your Project ID.')
parser.add_argument(
'location', help='Region of the Cloud Composer environent.')
parser.add_argument(
'composer_environment', help='Name of the Cloud Composer environent.')
Fixed locally:
parser.add_argument('--project_id', help='Your Project ID.')
parser.add_argument(
'--location', help='Region of the Cloud Composer environent.')
parser.add_argument(
'--composer_environment', help='Name of the Cloud Composer environment.')
Describe the issue
When running script error shows
usage: id.py [-h] project_id location composer_environment
id.py: error: the following arguments are required: project_id, location, composer_environment
Needs to add '--' on the arguments. Issue was encountered here https://stackoverflow.com/questions/66400667
Metadata
Metadata
Assignees
Labels
api: composerIssues related to the Cloud Composer API.Issues related to the Cloud Composer API.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.