initial stage
This commit is contained in:
parent
08ed592711
commit
ab5c8a4b7f
|
@ -89,7 +89,7 @@ def import_EOSC_catalog():
|
||||||
num_batches = len(pieces)//kwargs["params"]["BATCH_LOADERS_NUM"]
|
num_batches = len(pieces)//kwargs["params"]["BATCH_LOADERS_NUM"]
|
||||||
if num_batches > 0:
|
if num_batches > 0:
|
||||||
return list(split_list(pieces, num_batches))
|
return list(split_list(pieces, num_batches))
|
||||||
return list({"files": pieces})
|
return list(split_list(pieces, len(pieces)))
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def bulk_load(files: list[(str, str)], **kwargs):
|
def bulk_load(files: list[(str, str)], **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue