general_utils
Camply General Utilities
handle_search_windows(start_date, end_date)
#
Handle Multiple Search Windows by the CLI
Source code in camply/utils/general_utils.py
is_list_like(obj)
#
make_list(obj, coerce=None)
#
Make Anything An Iterable Instance
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj |
|
required | |
coerce |
Optional[Callable]
|
|
None
|
Returns:
Type | Description |
---|---|
List[object]
|
|