juftin / camply

camply, the campsite finder ⛺️ - a tool to find campsites at sold out campgrounds through sites like recreation.gov
https://juftin.com/camply/
MIT License
476 stars 93 forks source link

ValidationError in RecDotGovSearchResponse due to missing description field #356

Closed mygrexit closed 2 months ago

mygrexit commented 3 months ago

When running camply with the RecreationDotGovTimedEntry provider, the application encounters a ValidationError in the RecDotGovSearchResponse model. The error occurs because the description field is expected but not present in the API response. This issue prevents the application from successfully retrieving campsite data.

camply campsites --provider RecreationDotGovTimedEntry --start-date 2024-08-12 --end-date 2024-08-13 --campground 10087086 --continuous --notifications twilio --polling-interval 5
ValidationError: 2 validation errors for RecDotGovSearchResponse
results -> 1 -> description
  field required (type=value_error.missing)
results -> 2 -> description
  field required (type=value_error.missing)
juftin commented 2 months ago

Thanks for filing an issue @mygrexit - the fix will be published momentarily

juftin commented 2 months ago

:tada: This issue has been resolved in version 0.32.8 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: