Skip to content

mecfs_bio.build_system.task.fake_task

A Task that does nothing, which can be used for testing.

Classes:

FakeTask

Bases: Task

Methods:

Attributes:

deps property

deps: list[Task]

meta property

meta: Meta

create_with_filemeta classmethod

create_with_filemeta(asset_id: str)
Source code in mecfs_bio/build_system/task/fake_task.py
@classmethod
def create_with_filemeta(cls, asset_id: str):
    return cls(SimpleFileMeta(AssetId(asset_id)))

execute

execute(scratch_dir: Path, fetch: Fetch, wf: WF) -> Asset
Source code in mecfs_bio/build_system/task/fake_task.py
def execute(self, scratch_dir: Path, fetch: Fetch, wf: WF) -> Asset:
    raise NotImplementedError()