Coverage for src/typedal/types.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-10-26 10:35 +0200

1""" 

2Stuff to make mypy happy. 

3""" 

4 

5from pydal.objects import Expression as _Expression 

6from pydal.objects import Query as _Query 

7 

8 

9class Query(_Query): # type: ignore 

10 """ 

11 Pydal Query object. 

12 

13 Makes mypy happy. 

14 """ 

15 

16 

17class Expression(_Expression): # type: ignore 

18 """ 

19 Pydal Expression object. 

20 

21 Make mypy happy. 

22 """ 

23 

24 

25class _Types: 

26 """ 

27 Internal type storage for stuff that mypy otherwise won't understand. 

28 """ 

29 

30 NONETYPE = type(None)