MCPcopy
hub / github.com/pathwaycom/pathway / Universe

Class Universe

python/pathway/internals/universe.py:9–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class Universe:
10 lineage: SetOnceProperty[column.Lineage] = SetOnceProperty()
11
12 def subset(self) -> Universe:
13 from pathway.internals.parse_graph import G
14
15 return G.universe_solver.get_subset(self)
16
17 def superset(self) -> Universe:
18 from pathway.internals.parse_graph import G
19
20 return G.universe_solver.get_superset(self)
21
22 def is_subset_of(self, other: Universe) -> bool:
23 from pathway.internals.parse_graph import G
24
25 return G.universe_solver.query_is_subset(self, other)
26
27 def is_equal_to(self, other: Universe) -> bool:
28 return self.is_subset_of(other) and other.is_subset_of(self)
29
30 def is_empty(self) -> bool:
31 from pathway.internals.parse_graph import G
32
33 return G.universe_solver.query_is_empty(self)
34
35 def register_as_empty(self, no_warn: bool = True) -> None:
36 from pathway.internals.parse_graph import G
37
38 G.universe_solver.register_as_empty(self, no_warn=no_warn)

Callers 15

__init__Method · 0.90
get_subsetMethod · 0.90
get_supersetMethod · 0.90
get_differenceMethod · 0.90
get_intersectionMethod · 0.90
get_unionMethod · 0.90
_from_schemaMethod · 0.90
_compute_universeMethod · 0.90
universeMethod · 0.90
universeMethod · 0.90
universeMethod · 0.90
universeMethod · 0.90

Calls 1

SetOncePropertyClass · 0.90

Tested by

no test coverage detected