MCPcopy Create free account
hub / github.com/dask/dask / get_output_keys

Method get_output_keys

dask/highlevelgraph.py:111–125  ·  view source on GitHub ↗

Return a set of all output keys Output keys are all keys in the layer that might be referenced by other layers. Classes overriding this implementation should not cause the layer to be materialized. Returns ------- keys: Set All o

(self)

Source from the content-addressed store, hash-verified

109
110 @abc.abstractmethod
111 def get_output_keys(self) -> Set[Key]:
112 """Return a set of all output keys
113
114 Output keys are all keys in the layer that might be referenced by
115 other layers.
116
117 Classes overriding this implementation should not cause the layer
118 to be materialized.
119
120 Returns
121 -------
122 keys: Set
123 All output keys
124 """
125 return self.keys() # this implementation will materialize the graph
126
127 def cull(
128 self, keys: set[Key], all_hlg_keys: Collection[Key]

Callers 2

layer_info_dictMethod · 0.95
get_all_external_keysMethod · 0.45

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected