wrapper/: introduce Wrapper protocol

This commit is contained in:
InsanePrawn 2022-02-17 16:25:31 +01:00
parent 3fbda2e089
commit 14a2d0ae12
3 changed files with 37 additions and 12 deletions

View file

@ -19,7 +19,7 @@ def docker_volumes_args(volume_mappings: dict[str, str]) -> list[str]:
class DockerWrapper(BaseWrapper):
type = 'docker'
type: str = 'docker'
def wrap(self):
script_path = config.runtime['script_source_dir']