Skip to content

Commit e12aedb

Browse files
committed
fix: missing email configs, readapi tables v2
1 parent 89eabdd commit e12aedb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

indico/queries/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class CreateDataset(RequestChain["Dataset"]):
206206
from_local_images (bool, optional): Flag whether files are local images or not. Defaults to False.
207207
image_filename_col (str, optional): Image filename column. Defaults to 'filename'.
208208
batch_size (int, optional): Size of file batch to upload at a time. Defaults to 20.
209-
ocr_engine (OcrEngine, optional): Specify an OCR engine [OMNIPAGE, READAPI, READAPI_V2, READAPI_TABLES_V1]. Defaults to None.
209+
ocr_engine (OcrEngine, optional): Specify an OCR engine [OMNIPAGE, READAPI, READAPI_V2, READAPI_TABLES_V1, READAPI_TABLES_V2]. Defaults to None.
210210
omnipage_ocr_options (OmnipageOcrOptionsInput, optional): If using Omnipage, specify Omnipage OCR options. Defaults to None.
211211
read_api_ocr_options: (ReadApiOcrOptionsInput, optional): If using ReadAPI, specify ReadAPI OCR options. Defaults to None.
212212
request_interval (int or float, optional): The maximum time in between retry calls when waiting. Defaults to 5 seconds.

indico/types/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class OcrEngine(Enum):
8484
READAPI = 1
8585
READAPI_V2 = 2
8686
READAPI_TABLES_V1 = 3
87+
READAPI_TABLES_V2 = 4
8788

8889

8990
class OmnipageOcrOptionsInput(BaseType):

0 commit comments

Comments
 (0)