Skip to content

Commit fa65d7d

Browse files
authored
Set autoprocess to True (#308)
Had another client who stubbed his toe on this. Is there any reason not to change this default?
1 parent bc199e2 commit fa65d7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indico/queries/datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ class AddDatasetFiles(RequestChain):
438438
files (List[str]): List of pathnames to the dataset files
439439
440440
Options:
441-
autoprocess (bool, default=False): Automatically process new dataset files
441+
autoprocess (bool, default=True): Automatically process new dataset files
442442
wait (bool, default=True): Block while polling for status of files
443443
batch_size (int, default=20): Batch size for uploading files
444444
@@ -452,7 +452,7 @@ def __init__(
452452
self,
453453
dataset_id: int,
454454
files: List[str],
455-
autoprocess: bool = False,
455+
autoprocess: bool = True,
456456
wait: bool = True,
457457
batch_size: int = 20,
458458
):

0 commit comments

Comments
 (0)