You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_send_message (tests.test_messages_api.MessagesApiTests) ... ERROR
test_get_user_devices (tests.test_users_api.UsersApiTests) ... ERROR
test_get_self_async (tests.test_users_api.UsersApiTests) ... ERROR
test_get_self (tests.test_users_api.UsersApiTests) ... ERROR
======================================================================
ERROR: test_send_message (tests.test_messages_api.MessagesApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/app/artikcloud-python/tests/test_messages_api.py", line 40, in test_send_message
response = self.messages_api.send_message_action(self.message)
File "/usr/src/app/artikcloud-python/artikcloud/apis/messages_api.py", line 585, in send_message_action
callback=params.get('callback'))
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 114, in __call_api
header_params = self.sanitize_for_serialization(header_params)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 193, in sanitize_for_serialization
types = (str, int, long, float, bool, tuple)
NameError: name 'long' is not defined
======================================================================
ERROR: test_get_user_devices (tests.test_users_api.UsersApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/app/artikcloud-python/tests/test_users_api.py", line 24, in setUp
self.user_id = self.users_api.get_self().data.id
File "/usr/src/app/artikcloud-python/artikcloud/apis/users_api.py", line 282, in get_self
callback=params.get('callback'))
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 114, in __call_api
header_params = self.sanitize_for_serialization(header_params)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 193, in sanitize_for_serialization
types = (str, int, long, float, bool, tuple)
NameError: name 'long' is not defined
======================================================================
ERROR: test_get_self_async (tests.test_users_api.UsersApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/app/artikcloud-python/tests/test_users_api.py", line 24, in setUp
self.user_id = self.users_api.get_self().data.id
File "/usr/src/app/artikcloud-python/artikcloud/apis/users_api.py", line 282, in get_self
callback=params.get('callback'))
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 114, in __call_api
header_params = self.sanitize_for_serialization(header_params)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 193, in sanitize_for_serialization
types = (str, int, long, float, bool, tuple)
NameError: name 'long' is not defined
======================================================================
ERROR: test_get_self (tests.test_users_api.UsersApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/app/artikcloud-python/tests/test_users_api.py", line 24, in setUp
self.user_id = self.users_api.get_self().data.id
File "/usr/src/app/artikcloud-python/artikcloud/apis/users_api.py", line 282, in get_self
callback=params.get('callback'))
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 114, in __call_api
header_params = self.sanitize_for_serialization(header_params)
File "/usr/src/app/artikcloud-python/artikcloud/api_client.py", line 193, in sanitize_for_serialization
types = (str, int, long, float, bool, tuple)
NameError: name 'long' is not defined
The text was updated successfully, but these errors were encountered:
Commit 027de2d broke the SDK on Python 3 as there is no
long
type on Python 3, only in Python 2. Compare Python 2 numeric types and Python 3 numeric typesPossible workaround is similar as shown here: http://python3porting.com/differences.html#long
This shows up in the tests as well:
The text was updated successfully, but these errors were encountered: