Skip to main content

worker

Workers for handling task running on pods.

Classes

SaveResultsToDatabase

class SaveResultsToDatabase():

Hook to save protocol results to database.

Initialise the hook.

Ancestors

  • bitfount.hooks.BaseProtocolHook
  • bitfount.hooks.BaseHook

Methods


on_run_end

def on_run_end(    self, protocol: _BaseProtocol, context: TaskContext, *args: Any, **kwargs: Any,)> None:

Runs after protocol run to save results to database.