Skip to content

SyntaxError in generated OpenAPI client #35

@thSoft

Description

@thSoft

Steps to reproduce:

  • Spin up a notebook in this repo with MyBinder
  • Try to execute the first Python code block

Expected output: it is executed successfully

Actual output:

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/mms_python_client/api/artifact_api.py", line 137
    async=params.get('async'),
        ^
SyntaxError: invalid syntax

Cause: async became a reserved word in Python 3.7, but we use it for the async method family.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions