Skip to content

"async" keyword used as parameter value #6

@snildeben

Description

@snildeben

The keyword "async" is used as a parameter in the code, this is not compatible with the latest version of Python 3.7+. I suggest adding a "p_" front of parameters to avoid overlapping and increase compatibility across Python versions,

See https://docs.python.org/3/library/asyncio-task.html

Of course this results in an error when trying to import the class:
[...]DNAC-Python-SDK-master\python_client\api\discovery_api.py", line 121
async=params.get('async'),
^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions