The gist of this proposal is to query further packages for Routines, to allow extending Qibocal once installed (without patching it at runtime).
The core of the idea is to register plugins in the Executor (since we're already using it to supervise the execution), directly or automatically, and then use the executor to retrieve the operation.
Direct registration will be done passing a list of Operation-like objects.
Autodiscovery will inspect installed packages to match some pattern, automatically loading those objects.
The gist of this proposal is to query further packages for
Routine
s, to allow extending Qibocal once installed (without patching it at runtime).The core of the idea is to register plugins in the
Executor
(since we're already using it to supervise the execution), directly or automatically, and then use the executor to retrieve the operation.Direct registration will be done passing a list of
Operation
-like objects. Autodiscovery will inspect installed packages to match some pattern, automatically loading those objects.