Enhance booking time management by adding configurable time slots and improve sync workflow error handling
This commit is contained in:
parent
ffbac14108
commit
0dd5432bb8
3 changed files with 32 additions and 20 deletions
|
|
@ -12,4 +12,20 @@ DEFAULT_HEADERS = {
|
|||
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0',
|
||||
'accept': 'application/vnd.api+json',
|
||||
'accept-encoding': 'plain'
|
||||
}
|
||||
}
|
||||
|
||||
# Booking time slots (in order of priority)
|
||||
BOOKING_TIMES = [
|
||||
{
|
||||
'start': '14:00:00',
|
||||
'end': '19:00:00'
|
||||
},
|
||||
{
|
||||
'start': '09:00:00',
|
||||
'end': '13:00:00'
|
||||
},
|
||||
{
|
||||
'start': '20:00:00',
|
||||
'end': '23:45:00'
|
||||
},
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue