sendinblue / APIv3-python-library

SendinBlue's python library for API v3
MIT License
82 stars 40 forks source link

Not compatible with Python3.7 - async is a keyword #40

Closed h closed 4 years ago

h commented 5 years ago

Please regenerate the library using Swagger. It is currently not compatible with python3.7 since "async" is now a keyword. This has been fixed in a recent release of Swagger: https://github.com/swagger-api/swagger-codegen/pull/8401

With Python3.7, you get the following error message when importing this library:

 Traceback (most recent call last):
  File "./env/lib/python3.7/site-packages/sib_api_v3_sdk/api/account_api.py", line 119
    async=params.get('async'),
        ^
SyntaxError: invalid syntax
Lawouach commented 5 years ago

Hi all,

Any ETA on this one? This makes this library unusable :/

erdimeola commented 5 years ago

Hi, any plans on compatibility with python 3.5+ ?

Lawouach commented 5 years ago

I think they don't really care

https://github.com/sendinblue/APIv3-python-library/issues/20#issuecomment-454762362

Best bet, call their API directly with requests or http3.

aakanksha-sib commented 4 years ago

Hi All, The issue has been resolved. Please use latest version 6.1.0

Thanks! Sendinblue team