Skip to content

Commit d3159d7

Browse files
authored
feat(service): Add S3Coordinates.max_num_elements (#3565)
Add S3Coordinates.max_num_elements Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
1 parent 271d3c7 commit d3159d7

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docling/datamodel/service/sources.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,14 @@ class S3Coordinates(BaseModel):
9494
),
9595
),
9696
] = ""
97+
98+
max_num_elements: Annotated[
99+
int | None,
100+
Field(
101+
description=(
102+
"Maximum number of S3 objects to iterate for this source. "
103+
"Optional, defaults to no limit."
104+
),
105+
ge=1,
106+
),
107+
] = None

0 commit comments

Comments
 (0)