Convert the EID to a dictionary.
(self)
| 79 | return f"EID(batch={self.batch}, task={self.task}, run={self.run}, step={self.step}, uuid={self.suffix})" |
| 80 | |
| 81 | def to_dict(self) -> dict: |
| 82 | """Convert the EID to a dictionary.""" |
| 83 | return { |
| 84 | "batch": self.batch, |
| 85 | "task": self.task, |
| 86 | "run": self.run, |
| 87 | "step": self.step, |
| 88 | "suffix": self.suffix, |
| 89 | } |
| 90 | |
| 91 | |
| 92 | @dataclass(frozen=True) |
no outgoing calls