Return a dictionary with the relevant information pertaining to an applied transform.
(self)
| 116 | return (TraceKeys.CLASS_NAME, TraceKeys.ID, TraceKeys.TRACING, TraceKeys.DO_TRANSFORM) |
| 117 | |
| 118 | def get_transform_info(self) -> dict: |
| 119 | """ |
| 120 | Return a dictionary with the relevant information pertaining to an applied transform. |
| 121 | """ |
| 122 | self._init_trace_threadlocal() |
| 123 | |
| 124 | vals = ( |
| 125 | self.__class__.__name__, |
| 126 | id(self), |
| 127 | self.tracing, |
| 128 | self._do_transform if hasattr(self, "_do_transform") else True, |
| 129 | ) |
| 130 | return dict(zip(self.transform_info_keys(), vals)) |
| 131 | |
| 132 | def push_transform(self, data, *args, **kwargs): |
| 133 | """ |