Description
Currently the Drone
is nearly a one-to-one copy of the Drone
(now Workernode
) in the core LAPIS package. There are some subtle differences including:
- parameters
sitename
,connection
, andempty
Lines 25 to 30 in 8f4f614
- additional logging information
- in
run
- in
shutdown
- several occurrences in
_run_job
- in
Lines 87 to 94 in 8f4f614
Lines 124 to 131 in 8f4f614
Lines 163 to 170 in 8f4f614
- handling the initialisation of
allocation
andutilisation
Lines 104 to 109 in 8f4f614
This prevents us from removing the implementation from the extension. We might consider creating a CachingDrone
instead, but there might also be other options available that jobs could be handled transparently.
This issue is related to #21 as the extension of a job also requires subclassing while some of the base methods still need to be copied.