Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/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
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
2from glom.core import (glom,
3 Fill,
4 Auto,
5 register,
6 register_op,
7 Glommer,
8 Call,
9 Invoke,
10 Spec,
11 Ref,
12 OMIT, # backwards compat
13 SKIP,
14 STOP,
15 UP,
16 ROOT,
17 MODE,
18 Path,
19 Vars,
20 Val,
21 Literal, # backwards compat 2020-07
22 Let, # backwards compat 2020-07
23 Coalesce,
24 Inspect,
25 Pipe,
26 GlomError,
27 BadSpec,
28 PathAccessError,
29 PathAssignError,
30 CoalesceError,
31 UnregisteredTarget,
32 T, S, A)
34from glom.reduction import Sum, Fold, Flatten, flatten, FoldError, Merge, merge
35from glom.matching import (M,
36 Or,
37 And,
38 Not,
39 Match,
40 MatchError,
41 TypeMatchError,
42 Regex,
43 Optional,
44 Required,
45 Switch,
46 Check,
47 CheckError)
48from glom.mutation import Assign, Delete, assign, delete, PathDeleteError
50# there's no -ion word that really fits what "streaming" means.
51# generation, production, iteration, all have more relevant meanings
52# elsewhere. (maybe procrastination :P)
53from glom.streaming import Iter
55from glom._version import __version__