feat: set default CopyInDir
All checks were successful
build / build (push) Successful in 1m5s

This commit is contained in:
张泊明518370910136 2024-10-20 04:59:39 -04:00
parent 8bf0f7cfff
commit 9660ece52d
GPG Key ID: D47306D7062CDA9D
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ class Cmd(BaseModel):
cpu_set_limit: str = Field("", serialization_alias="cpuSetLimit") cpu_set_limit: str = Field("", serialization_alias="cpuSetLimit")
copy_in: dict[str, CmdFile] = Field({}, serialization_alias="copyIn") copy_in: dict[str, CmdFile] = Field({}, serialization_alias="copyIn")
copy_in_cached: dict[str, str] = Field({}, serialization_alias="copyInCached") copy_in_cached: dict[str, str] = Field({}, serialization_alias="copyInCached")
copy_in_dir: str = Field("", serialization_alias="copyInDir") copy_in_dir: str = Field(".", serialization_alias="copyInDir")
copy_out: list[str] = Field([], serialization_alias="copyOut") copy_out: list[str] = Field([], serialization_alias="copyOut")
copy_out_cached: list[str] = Field([], serialization_alias="copyOutCached") copy_out_cached: list[str] = Field([], serialization_alias="copyOutCached")
copy_out_max: int = Field(0, serialization_alias="copyOutMax") copy_out_max: int = Field(0, serialization_alias="copyOutMax")

View File

@ -55,7 +55,7 @@
} }
}, },
"copyInCached": {}, "copyInCached": {},
"copyInDir": "", "copyInDir": ".",
"copyOut": [], "copyOut": [],
"copyOutCached": [ "copyOutCached": [
"output/ex5_results.txt", "output/ex5_results.txt",
@ -135,7 +135,7 @@
} }
}, },
"copyInCached": {}, "copyInCached": {},
"copyInDir": "", "copyInDir": ".",
"copyOut": [], "copyOut": [],
"copyOutCached": [ "copyOutCached": [
"output/ex5_results2.txt", "output/ex5_results2.txt",