(self, **kwargs)
| 92 | fields = () # Must be in CSV column order |
| 93 | |
| 94 | def __init__(self, **kwargs): |
| 95 | for key, value in kwargs.items(): |
| 96 | if key not in type(self).fields: |
| 97 | raise TypeError(f"Invalid field: {key}") |
| 98 | setattr(self, key, value) |
| 99 | |
| 100 | @classmethod |
| 101 | def from_row(cls, row): |
nothing calls this directly
no outgoing calls
no test coverage detected