mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
Remove unnecessary code
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
c09d2bca47
commit
2cc940fbfa
@ -130,12 +130,6 @@ def verify_md(doc_pred_md, doc_true_md):
|
|||||||
return doc_pred_md == doc_true_md
|
return doc_pred_md == doc_true_md
|
||||||
|
|
||||||
|
|
||||||
def serialize_json(obj):
|
|
||||||
if isinstance(obj, PosixPath):
|
|
||||||
return str(obj)
|
|
||||||
raise TypeError(f"Object of type {obj.__class__.__name__} is not JSON serializable")
|
|
||||||
|
|
||||||
|
|
||||||
def test_e2e_conversions():
|
def test_e2e_conversions():
|
||||||
PageList = TypeAdapter(List[Page])
|
PageList = TypeAdapter(List[Page])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user