Coverage for src/paperap/models/document/parser.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-11 21:37 -0400

1""" 

2---------------------------------------------------------------------------- 

3 

4 METADATA: 

5 

6 File: parser.py 

7 Project: paperap 

8 Created: 2025-03-08 

9 Version: 0.0.5 

10 Author: Jess Mann 

11 Email: jess@jmann.me 

12 Copyright (c) 2025 Jess Mann 

13 

14---------------------------------------------------------------------------- 

15 

16 LAST MODIFIED: 

17 

18 2025-03-08 By Jess Mann 

19 

20""" 

21 

22from __future__ import annotations 

23 

24from typing import TYPE_CHECKING, Any, TypedDict, cast, override 

25 

26from typing_extensions import TypeVar 

27 

28if TYPE_CHECKING: 

29 from paperap.models.document.model import Document 

30 

31 

32class CustomFieldDict(TypedDict): 

33 field: int 

34 value: Any