Coverage for src/paperap/models/responses/list.py: 0%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-12 23:40 -0400

1""" 

2 

3 

4 

5---------------------------------------------------------------------------- 

6 

7METADATA: 

8 

9File: list.py 

10Project: paperap 

11Created: 2025-03-11 

12Version: 0.0.5 

13Author: Jess Mann 

14Email: jess@jmann.me 

15Copyright (c) 2025 Jess Mann 

16 

17---------------------------------------------------------------------------- 

18 

19LAST MODIFIED: 

20 

212025-03-11 By Jess Mann 

22 

23""" 

24 

25from __future__ import annotations 

26 

27from paperap.models.abstract import StandardModel 

28 

29 

30class ListResponse(StandardModel): 

31 """ 

32 Not currently used, but kept for documentation or future expansion. 

33 

34 The structure of an api response from paperless ngx for a list of models. 

35 """ 

36 

37 count: int 

38 next: str | None 

39 previous: str | None 

40 all: list[int] 

41 results: list[StandardModel]