Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/glom/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

6 statements  

1from glom.core import (glom, 

2 Fill, 

3 Auto, 

4 register, 

5 register_op, 

6 Glommer, 

7 Call, 

8 Invoke, 

9 Spec, 

10 Ref, 

11 OMIT, # backwards compat 

12 SKIP, 

13 STOP, 

14 UP, 

15 ROOT, 

16 MODE, 

17 Path, 

18 Vars, 

19 Val, 

20 Literal, # backwards compat 2020-07 

21 Let, # backwards compat 2020-07 

22 Coalesce, 

23 Inspect, 

24 Pipe, 

25 GlomError, 

26 BadSpec, 

27 PathAccessError, 

28 PathAssignError, 

29 CoalesceError, 

30 UnregisteredTarget, 

31 T, S, A) 

32 

33from glom.reduction import Sum, Fold, Flatten, flatten, FoldError, Merge, merge 

34from glom.matching import (M, 

35 Or, 

36 And, 

37 Not, 

38 Match, 

39 MatchError, 

40 TypeMatchError, 

41 Regex, 

42 Optional, 

43 Required, 

44 Switch, 

45 Check, 

46 CheckError) 

47from glom.mutation import Assign, Delete, assign, delete, PathDeleteError 

48 

49# there's no -ion word that really fits what "streaming" means. 

50# generation, production, iteration, all have more relevant meanings 

51# elsewhere. (maybe procrastination :P) 

52from glom.streaming import Iter 

53 

54from glom._version import __version__