Skip to content

A fast, helpful, and open-source document parser

tweak

Logan Markewich8ba651826062
diff --git a/docs/src/content/docs/liteparse/guides/extraction.mdx b/docs/src/content/docs/liteparse/guides/extraction.mdx
index 2b078a0..ae4f7a0 100644
--- a/docs/src/content/docs/liteparse/guides/extraction.mdx
+++ b/docs/src/content/docs/liteparse/guides/extraction.mdx
@@ -5,7 +5,7 @@ sidebar:
order: 3
---
-By default, LiteParse returns text, geometry, and page metadata — nothing else. Everything a PDF *can* carry beyond that (embedded images, vector art, annotations, form fields, tagged-structure trees, per-glyph typography) is **opt-in**, behind its own flag.
+By default, LiteParse returns text, geometry, and page metadata. Everything a PDF *can* carry beyond that (embedded images, vector art, annotations, form fields, tagged-structure trees, per-glyph typography) is **opt-in**, behind its own flag.
This keeps the default output shape small, stable, and cheap to produce. It also means that if you're looking for data you know is in the file and don't see it in the output, you're probably missing a flag.
diff --git a/packages/python/liteparse/types.py b/packages/python/liteparse/types.py
index 4861eeb..6e02a15 100644
--- a/packages/python/liteparse/types.py
+++ b/packages/python/liteparse/types.py
@@ -95,11 +95,6 @@ class FormField:
options: List[str] = field(default_factory=list)
selected_options: List[str] = field(default_factory=list)
- @property
- def field_type(self) -> str:
- """Deprecated alias for :attr:`type`."""
- return self.type
-
StructureAttributeValue = Union[bool, float, str]
@@ -119,11 +114,6 @@ class StructureTreeElement:
children: List[StructureTreeElement] = field(default_factory=list)
annotations: List[DocumentAnnotation] = field(default_factory=list)
- @property
- def element_type(self) -> str:
- """Deprecated alias for :attr:`type`."""
- return self.type
-
@dataclass
class StructureTree: