docling-core 1.1.1__tar.gz → 1.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of docling-core might be problematic. Click here for more details.
- {docling_core-1.1.1 → docling_core-1.1.2}/PKG-INFO +1 -1
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/base.py +5 -5
- {docling_core-1.1.1 → docling_core-1.1.2}/pyproject.toml +1 -1
- {docling_core-1.1.1 → docling_core-1.1.2}/LICENSE +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/README.md +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/py.typed +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/doc/ANN.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/doc/DOC.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/doc/OCR-output.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/doc/RAW.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/generated/ccs_document_schema.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/generated/minimal_document_schema_flat.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/search/search_doc_mapping.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/search/search_doc_mapping_v2.json +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/json_schema_to_search_mapper.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/mapping.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/meta.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/package.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/base.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/doc_ann.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/doc_ocr.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/doc_raw.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/doc/document.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/gen/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/gen/generic.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/nlp/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/nlp/qa.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/nlp/qa_labels.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/attribute.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/base.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/predicate.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/record.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/statement.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/types/rec/subject.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/__init__.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/alias.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/ds_generate_docs.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/ds_generate_jsonschema.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/validate.py +0 -0
- {docling_core-1.1.1 → docling_core-1.1.2}/docling_core/utils/validators.py +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"""Define common models across CCS objects."""
|
|
7
7
|
from typing import Annotated, Literal, Optional, Union
|
|
8
8
|
|
|
9
|
-
from pydantic import BaseModel, Field, StrictStr
|
|
9
|
+
from pydantic import BaseModel, Field, PositiveInt, StrictStr
|
|
10
10
|
|
|
11
11
|
from docling_core.search.mapping import es_field
|
|
12
12
|
from docling_core.utils.alias import AliasModel
|
|
@@ -39,7 +39,7 @@ class S3Resource(BaseModel):
|
|
|
39
39
|
|
|
40
40
|
mime: str
|
|
41
41
|
path: str
|
|
42
|
-
page: Optional[
|
|
42
|
+
page: Optional[PositiveInt] = None
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
class S3Data(AliasModel):
|
|
@@ -68,7 +68,7 @@ class Prov(AliasModel):
|
|
|
68
68
|
"""Provenance."""
|
|
69
69
|
|
|
70
70
|
bbox: BoundingBox
|
|
71
|
-
page:
|
|
71
|
+
page: PositiveInt
|
|
72
72
|
span: Span
|
|
73
73
|
ref_s3_data: Optional[StrictStr] = Field(
|
|
74
74
|
default=None, alias="__ref_s3_data", json_schema_extra=es_field(suppress=True)
|
|
@@ -96,7 +96,7 @@ class PageDimensions(BaseModel):
|
|
|
96
96
|
"""Page dimensions."""
|
|
97
97
|
|
|
98
98
|
height: float
|
|
99
|
-
page:
|
|
99
|
+
page: PositiveInt
|
|
100
100
|
width: float
|
|
101
101
|
|
|
102
102
|
|
|
@@ -196,4 +196,4 @@ class PageReference(BaseModel):
|
|
|
196
196
|
|
|
197
197
|
hash: str = Field(json_schema_extra=es_field(type="keyword", ignore_above=8191))
|
|
198
198
|
model: str = Field(json_schema_extra=es_field(suppress=True))
|
|
199
|
-
page:
|
|
199
|
+
page: PositiveInt = Field(json_schema_extra=es_field(type="short"))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-1.1.1 → docling_core-1.1.2}/docling_core/resources/schemas/doc/OCR-output.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docling_core-1.1.1 → docling_core-1.1.2}/docling_core/search/json_schema_to_search_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|