@@ -121,7 +121,7 @@ def _get_searchable_campgrounds(self) -> List[CampgroundFacility]:
121
121
122
122
Returns
123
123
-------
124
- searchable_campgrounds: List[int ]
124
+ searchable_campgrounds: List[CampgroundFacility ]
125
125
List of searchable campground IDs
126
126
"""
127
127
if self .campsites not in [(), [], None ]:
@@ -185,11 +185,11 @@ def _get_searchable_equipment(
185
185
186
186
def _get_campgrounds_by_campground_id (self ) -> List [CampgroundFacility ]:
187
187
"""
188
- Return a List of Campgrounds to search when provided with campground IDs
188
+ Return a List of Campgrounds to search when provided with Campground IDs
189
189
190
190
Returns
191
191
-------
192
- returned_sites : List[int ]
192
+ facilities : List[CampgroundFacility ]
193
193
List of searchable campground IDs
194
194
"""
195
195
campground_list = make_list (self ._campground_object )
@@ -204,7 +204,7 @@ def _get_campgrounds_by_campsite_id(self) -> List[CampgroundFacility]:
204
204
205
205
Returns
206
206
-------
207
- returned_sites : List[int ]
207
+ facilities : List[CampgroundFacility ]
208
208
List of searchable campground IDs
209
209
"""
210
210
campsite_list = make_list (self .campsites )
@@ -217,15 +217,16 @@ def _get_campgrounds_by_recreation_area_id(self) -> List[CampgroundFacility]:
217
217
218
218
Returns
219
219
-------
220
- campgrounds: List[CampgroundFacility]
220
+ facilities: List[CampgroundFacility]
221
+ List of searchable campground IDs
221
222
"""
222
- campgrounds = []
223
+ facilities = []
223
224
for rec_area in self ._recreation_area_id :
224
225
campground_array = self .campsite_finder .find_facilities_per_recreation_area (
225
226
rec_area_id = rec_area
226
227
)
227
- campgrounds += campground_array
228
- return campgrounds
228
+ facilities += campground_array
229
+ return facilities
229
230
230
231
def get_all_campsites (self ) -> List [AvailableCampsite ]:
231
232
"""
0 commit comments