Esempio n. 1
0
 def inmemory(cls):
     """
     Get an instance of :class:`~ebonite.Ebonite` with inmemory repositories
     """
     return Ebonite(LocalMetadataRepository(), InMemoryArtifactRepository())
Esempio n. 2
0
def inmemory_artifact():
    yield InMemoryArtifactRepository()
Esempio n. 3
0
def artifact_repo():
    return InMemoryArtifactRepository()
Esempio n. 4
0
def project_saved_art(project_saved):
    return project_saved.bind_artifact_repo(InMemoryArtifactRepository())
Esempio n. 5
0
def task_saved_art(task_saved):
    task_saved.bind_artifact_repo(InMemoryArtifactRepository())
    return task_saved
Esempio n. 6
0
def task_b2(task_b: Task):
    task_b.bind_artifact_repo(InMemoryArtifactRepository())
    return task_b