Backend

class hailtop.batch.backend.Backend

Bases: ABC, Generic[RunningBatchType]

Abstract class for backends.

Methods

_run

Execute a batch.

close

Close a Hail Batch Backend.

validate_file_scheme

rtype:

None

abstract _run(batch, dry_run, verbose, delete_scratch_on_exit, **backend_kwargs)

Execute a batch. :rtype: TypeVar(RunningBatchType)

Warning

This method should not be called directly. Instead, use batch.Batch.run().

close()

Close a Hail Batch Backend.

Notes

This method should be called after executing your batches at the end of your script.

validate_file_scheme(uri)
Return type:

None