implemented "include" for batch files
This commit is contained in:
@@ -35,4 +35,8 @@ def __load_batch_obj(batch_obj):
|
|||||||
|
|
||||||
paths.extend(__load_batch_obj(batch))
|
paths.extend(__load_batch_obj(batch))
|
||||||
|
|
||||||
|
if "include" in batch_obj:
|
||||||
|
for batch_file in batch_obj["include"]:
|
||||||
|
paths.extend(load(pl.Path(instance_dir, batch_file)))
|
||||||
|
|
||||||
return paths
|
return paths
|
||||||
|
Reference in New Issue
Block a user