Skip to content

Need a help for this error! #170

Open
@wstsxaiyun

Description

@wstsxaiyun

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions