File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1717from .const import (
1818 API_BASE_TEMPLATE ,
1919 AUTH_URL ,
20+ CLIENT_ID_CACHE_TTL ,
2021 DEFAULT_API_VERSION ,
2122 DEFAULT_CACHE_TTL ,
2223 DEFAULT_CLIENT_ID ,
2324 DEFAULT_CONN_TIMEOUT ,
2425 DEFAULT_JITTER_MAX ,
2526 DEFAULT_KEEPALIVE_TIMEOUT ,
26- CLIENT_ID_CACHE_TTL ,
2727 DEFAULT_MAX_CONCURRENT_REQUESTS ,
2828 DEFAULT_MAX_CONNECTIONS ,
2929 DEFAULT_READ_TIMEOUT ,
@@ -375,7 +375,9 @@ async def _request(
375375
376376 if response .status == 401 :
377377 # Attempt token refresh once when unauthorized
378- _LOGGER .warning ("API request unauthorized for %s, refreshing token" , url )
378+ _LOGGER .warning (
379+ "API request unauthorized for %s, refreshing token" , url
380+ )
379381 if retry_on_unauthorized :
380382 await self .authenticate ()
381383 await self ._save_token_to_cache ()
Original file line number Diff line number Diff line change 9393SIGNAL_RESERVATION_STATE = "vacasa_reservation_state"
9494
9595# Calendar event window constants
96- CALENDAR_LOOKBACK_DAYS = 60 # days to look back for active reservations
96+ CALENDAR_LOOKBACK_DAYS = 60 # days to look back for active reservations
9797CALENDAR_LOOKAHEAD_DAYS = 365 # days to look ahead for future reservations
9898
9999# Default reservation times when none are provided by the API
100- DEFAULT_CHECKIN_TIME = "16:00:00" # 4:00 PM
100+ DEFAULT_CHECKIN_TIME = "16:00:00" # 4:00 PM
101101DEFAULT_CHECKOUT_TIME = "10:00:00" # 10:00 AM
102102
103103# Client ID cache TTL (re-use DEFAULT_CACHE_TTL for this purpose)
You can’t perform that action at this time.
0 commit comments