Coverage for src/paperap/resources/tags.py: 100%

6 statements  

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

1""" 

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

3 

4 METADATA: 

5 

6 File: tags.py 

7 Project: paperap 

8 Created: 2025-03-04 

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-04 By Jess Mann 

19 

20""" 

21 

22from __future__ import annotations 

23 

24from paperap.models.tag import Tag, TagQuerySet 

25from paperap.resources.base import BaseResource, StandardResource 

26 

27 

28class TagResource(StandardResource[Tag, TagQuerySet]): 

29 """Resource for managing tags.""" 

30 

31 model_class = Tag 

32 name = "tags"