fix types and format

This commit is contained in:
Viktor Barzin 2025-05-18 12:27:26 +00:00
parent 91d3237516
commit b873eaf203
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
8 changed files with 117 additions and 172 deletions

View file

@ -4,7 +4,9 @@ import pandas as pd
def export_to_csv(
listings: list[Listing], output_file: Path, columns: list[str]
listings: list[Listing],
output_file: Path,
columns: list[str],
) -> None:
ds = [listing.dict_nicely() for listing in listings]
df = pd.DataFrame(ds)