Return a dict of primitive Python types.
(self)
| 449 | class Detection: |
| 450 | |
| 451 | def to_dict(self): |
| 452 | """ |
| 453 | Return a dict of primitive Python types. |
| 454 | """ |
| 455 | return attr.asdict(self) |
| 456 | |
| 457 | @classmethod |
| 458 | def split(cls, detections, to_dict=False): |
no outgoing calls
no test coverage detected