-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Dear Sir.
I just found your xolib.
From the usage section of readme.rst the line with 'xo_instance = xo('ws://localhost', timeout=30)' got '''
Traceback (most recent call last):
File "", line 1, in
File "/home/bino/.local/share/virtualenvs/playxolib-qsi9oiDU/lib/python3.8/site-packages/synthetic/synthetic_constructor_factory.py", line 79, in init
originalConstructor(instance, *args, **kwargs)
TypeError: init() got an unexpected keyword argument 'timeout'
'''
and when I remove the timeout argument, I got :
Traceback (most recent call last):
File "", line 1, in
File "/home/bino/.local/share/virtualenvs/playxolib-qsi9oiDU/lib/python3.8/site-packages/synthetic/synthetic_constructor_factory.py", line 79, in init
originalConstructor(instance, *args, **kwargs)
File "/home/bino/.local/share/virtualenvs/playxolib-qsi9oiDU/lib/python3.8/site-packages/xolib/xo.py", line 45, in init
self._learn_methods()
File "/home/bino/.local/share/virtualenvs/playxolib-qsi9oiDU/lib/python3.8/site-packages/xolib/xo.py", line 81, in _learn_methods
patch_method_in(self, method_code)
File "/home/bino/.local/share/virtualenvs/playxolib-qsi9oiDU/lib/python3.8/site-packages/xolib/utils.py", line 7, in patch_method_in
exec(method_code, None, ld)
File "", line 1
def backupNg_getLogs(self, *, after=None, before=None, limit=None, *): return self.call('backupNg.getLogs', after=after, before=before, limit=limit, =)
^
SyntaxError: invalid syntax
Sincerely
-bino-