Skip to content

Rename parameters as async is a python3 keyword#13

Open
chuajiesheng wants to merge 1 commit intoangus-ai:masterfrom
chuajiesheng:master
Open

Rename parameters as async is a python3 keyword#13
chuajiesheng wants to merge 1 commit intoangus-ai:masterfrom
chuajiesheng:master

Conversation

@chuajiesheng
Copy link

When calling angus code in python3, python3 will flag async as a invalid syntax.

Traceback (most recent call last):
  File "booth.py", line 2, in <module>
    from angus import client
  File "/usr/local/lib/python3.7/site-packages/angus/__init__.py", line 23, in <module>
    import angus.client
  File "/usr/local/lib/python3.7/site-packages/angus/client/__init__.py", line 29, in <module>
    import angus.client.cloud
  File "/usr/local/lib/python3.7/site-packages/angus/client/cloud.py", line 24, in <module>
    from angus.client import rest
  File "/usr/local/lib/python3.7/site-packages/angus/client/rest.py", line 292
    def process(self, parameters=None, async=False, session=None):
                                           ^
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

Successfully merging this pull request may close these issues.

1 participant