Yas Mah
03/03/2022, 1:57 PM@task
def get_access_paths(base_path:Path):
return base_path
with Flow("flow") as flow:
base_path = Parameter("base_path", default=pathlib.Path(__file__).parent.parent.resolve())
data_access = get_access_paths(base_path)
files = [str(Path.joinpath(data_access, x)) for x in data_access.glob('*') if x.is_file()]
input = Parameter("input", default=files)
Kevin Kho
03/03/2022, 2:04 PMYas Mah
03/03/2022, 2:49 PM