syncer
syncer copied to clipboard
Async to sync converter
Looks like pytest shows some deprecation warnings ```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-syncer-1.3.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-syncer-1.3.0-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0 collected 24...
``` C:\QGB\Anaconda3\lib\site-packages\syncer.py in run(*args, **kwargs) 42 @wraps(f) 43 def run(*args, **kwargs): ---> 44 return asyncio.get_event_loop().run_until_complete(f(*args, **kwargs)) 45 return run 46 C:\QGB\Anaconda3\lib\asyncio\events.py in get_event_loop(self) 642 if self._local._loop is None: 643 raise...
It should be `asyncio.get_event_loop().run_until_complete()` ... right?

Firstly, thank you for the effort in developing and publishing _syncer_. I believe there is some potential for misunderstanding the purpose of the package, based on the current documentation and...