containers
camply Data Storage Objects
AvailableCampsite
#
Bases: CamplyModel
Campsite Storage
This container should be universal regardless of API Provider
Source code in camply/containers/data_containers.py
AvailableResource
#
CampgroundFacility
#
Bases: CamplyModel
Campground Facility Data Storage
Source code in camply/containers/data_containers.py
CamplyModel
#
Bases: BaseModel
Hashable Pydantic Model
Source code in camply/containers/base_container.py
RecreationArea
#
SearchWindow
#
Bases: CamplyModel
Search Window for Campsite Search
Source code in camply/containers/data_containers.py
end_date_must_be_in_future(v)
classmethod
#
Validate that end_date is in the future
Source code in camply/containers/data_containers.py
get_current_start_date()
#
get_date_range()
#
start_date_must_be_in_future(v)
classmethod
#
Validate that start_date is in the future.
Coerece start date to today's date when it is not in the future.