(
cls,
csv_string: str | None = None,
filename: str | PathLike | None = None,
encoding: str = "utf-8",
errors: str = "strict",
)
| 538 | |
| 539 | @classmethod |
| 540 | def from_csv( |
| 541 | cls, |
| 542 | csv_string: str | None = None, |
| 543 | filename: str | PathLike | None = None, |
| 544 | encoding: str = "utf-8", |
| 545 | errors: str = "strict", |
| 546 | ): |
| 547 | return cls(_from_csv(csv_string=csv_string, filename=filename, encoding=encoding, errors=errors)) |