mmar-mapi 1.0.21__tar.gz → 1.0.22__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 mmar-mapi might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mmar-mapi
3
- Version: 1.0.21
3
+ Version: 1.0.22
4
4
  Summary: Common pure/IO utilities for multi-modal architectures team
5
5
  Keywords:
6
6
  Author: Eugene Tagin
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "mmar-mapi"
3
3
  # dynamic version is not supported yet on uv_build
4
- version = "1.0.21"
4
+ version = "1.0.22"
5
5
  description = "Common pure/IO utilities for multi-modal architectures team"
6
6
  authors = [{name = "Eugene Tagin", email = "tagin@airi.net"}]
7
7
  license = "MIT"
@@ -82,7 +82,7 @@ ForceOCR = StrEnum("ForceOCR", ["ENABLED", "DISABLED", "AUTO"])
82
82
  OutputType = StrEnum("OutputType", ["RAW", "PLAIN", "MARKDOWN"])
83
83
 
84
84
 
85
- class ExtractionEngineSpec(BaseModel):
85
+ class ExtractionEngineSpec(BaseModel, frozen=True):
86
86
  output_type: OutputType = OutputType.MARKDOWN
87
87
  force_ocr: ForceOCR = ForceOCR.AUTO
88
88
  do_ocr: bool = False
@@ -94,7 +94,7 @@ class ExtractionEngineSpec(BaseModel):
94
94
  images_scale: float = 2.0
95
95
 
96
96
 
97
- class DocExtractionSpec(BaseModel):
97
+ class DocExtractionSpec(BaseModel, frozen=True):
98
98
  page_range: PageRange | None = None
99
99
  engine: ExtractionEngineSpec = ExtractionEngineSpec()
100
100
 
File without changes
File without changes