Mercurial > libervia-backend
comparison sat_frontends/jp/jp @ 3040:fee60f17ebac
jp: jp asyncio port:
/!\ this commit is huge. Jp is temporarily not working with `dbus` bridge /!\
This patch implements the port of jp to asyncio, so it is now correctly using the bridge
asynchronously, and it can be used with bridges like `pb`. This also simplify the code,
notably for things which were previously implemented with many callbacks (like pagination
with RSM).
During the process, some behaviours have been modified/fixed, in jp and backends, check
diff for details.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 25 Sep 2019 08:56:41 +0200 |
parents | ab2696e34d29 |
children |
comparison
equal
deleted
inserted
replaced
3039:a1bc34f90fa5 | 3040:fee60f17ebac |
---|---|
19 | 19 |
20 from sat_frontends.jp import base | 20 from sat_frontends.jp import base |
21 | 21 |
22 if __name__ == "__main__": | 22 if __name__ == "__main__": |
23 jp = base.Jp() | 23 jp = base.Jp() |
24 jp.import_plugins() | |
25 jp.run() | 24 jp.run() |