mmar-mapi 1.0.21__py3-none-any.whl → 1.0.22__py3-none-any.whl

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.

mmar_mapi/api.py CHANGED
@@ -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
 
@@ -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,5 +1,5 @@
1
1
  mmar_mapi/__init__.py,sha256=9Q5xsrj26uUnn7ZWvvJUvdVIuzC2oCIeNB4dEoqjF-o,1256
2
- mmar_mapi/api.py,sha256=8e_C3sfzX67bLDhgFJlUovIlhYN1Lw9ip5qCRpCCVVM,4869
2
+ mmar_mapi/api.py,sha256=tRX7XhfiHD73W7MdMnWHUZ9IsMpLtRl7PdT3OwyU0Mo,4895
3
3
  mmar_mapi/decorators_maybe_lru_cache.py,sha256=eO2I6t1fHLUNRABClK1c8EZzHAmCeSK6O-hbJGb2c9E,444
4
4
  mmar_mapi/file_storage.py,sha256=xJU59HmXFsfc53XALdx53IwyqV_k4218AzzXq1Q65Js,5052
5
5
  mmar_mapi/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -13,7 +13,7 @@ mmar_mapi/type_union.py,sha256=diwmzcnbqkpGFckPHNw9o8zyQ955mOGNvhTlcBJ0RMI,1905
13
13
  mmar_mapi/utils.py,sha256=FlW9n-84xz2zSHsahHzJ3Y4Wu5mjpFer6t9z6PF6lS0,488
14
14
  mmar_mapi/utils_import.py,sha256=pUyMFd8SItTxBKI-GO9JhRmy43jG_OQlUPr8QCBOSwg,1682
15
15
  mmar_mapi/xml_parser.py,sha256=VvLIX_XCZao9i0qqpTVx8nx0vbFXSe8pEbdJdXnj97g,568
16
- mmar_mapi-1.0.21.dist-info/licenses/LICENSE,sha256=2A90w8WjhOgQXnFuUijKJYazaqZ4_NTokYb9Po4y-9k,1061
17
- mmar_mapi-1.0.21.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
18
- mmar_mapi-1.0.21.dist-info/METADATA,sha256=EFNEhMdQS1WL5gCxZFSqaqBGdQQRriWcWh9aPFkCm2k,944
19
- mmar_mapi-1.0.21.dist-info/RECORD,,
16
+ mmar_mapi-1.0.22.dist-info/licenses/LICENSE,sha256=2A90w8WjhOgQXnFuUijKJYazaqZ4_NTokYb9Po4y-9k,1061
17
+ mmar_mapi-1.0.22.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
18
+ mmar_mapi-1.0.22.dist-info/METADATA,sha256=296uDSncFFxzt5-QPExV8vJmRKOMSDoGNYB7IaCGoj8,944
19
+ mmar_mapi-1.0.22.dist-info/RECORD,,