Skip to content
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

Need a help for this error! #170

Open
wstsxaiyun opened this issue Dec 12, 2024 · 0 comments
Open

Need a help for this error! #170

wstsxaiyun opened this issue Dec 12, 2024 · 0 comments

Comments

@wstsxaiyun
Copy link

hey,I`m a new bird,need help for this error!

when I run the main.py,there is an error:
> main.py: error: the following arguments are required: -k/--42619108b0*****8c0e6839f, -s/--3c370a57e6******29fc9f5346e1a359aa6f4c, tests

I replace --key,--secret like this:
parser = ArgumentParser(description="Run Gate APIv4 demo application")
parser.add_argument("-k", "--42619108b08c0e6839f", required=True, help="Gate APIv4 Key")
parser.add_argument("-s", "--3c370a57e6
*29fc9f5346e1a359aa6f4c", required=True, help="Gate APIv4 Secret")
parser.add_argument("-u", "--url", required=False, help="API base URL used to test")
parser.add_argument("tests", nargs='+', help="tests to run")
options = parser.parse_args()

then the error happened! How shoul I replace the params!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant