comparison sat/memory/disco.py @ 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 9d0df638c8b4
comparison
equal deleted inserted replaced
3039:a1bc34f90fa5 3040:fee60f17ebac
432 fields.append((data, values)) 432 fields.append((data, values))
433 433
434 extensions[form_type or ""] = fields 434 extensions[form_type or ""] = fields
435 435
436 defer.returnValue(( 436 defer.returnValue((
437 disco_infos.features, 437 [str(f) for f in disco_infos.features],
438 [(cat, type_, name or "") 438 [(cat, type_, name or "")
439 for (cat, type_), name in list(disco_infos.identities.items())], 439 for (cat, type_), name in list(disco_infos.identities.items())],
440 extensions)) 440 extensions))
441 441
442 def items2tuples(self, disco_items): 442 def items2tuples(self, disco_items):