Skip to content

Commit

Permalink
fix: use value of enum
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Apr 12, 2024
1 parent 5c2498c commit 217e367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion homeharvest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def process_result(result: Property) -> pd.DataFrame:
description = result.description
prop_data["primary_photo"] = description.primary_photo
prop_data["alt_photos"] = ", ".join(description.alt_photos)
prop_data["style"] = description.style
prop_data["style"] = description.style.value
prop_data["beds"] = description.beds
prop_data["full_baths"] = description.baths_full
prop_data["half_baths"] = description.baths_half
Expand Down
29 changes: 2 additions & 27 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 217e367

Please sign in to comment.