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

"async" keyword used as parameter value #6

Open
snildeben opened this issue Jul 3, 2019 · 0 comments
Open

"async" keyword used as parameter value #6

snildeben opened this issue Jul 3, 2019 · 0 comments

Comments

@snildeben
Copy link

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

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