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)
| 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] |
no test coverage detected