Tolerance window #4

Merged
kbe merged 5 commits from develop into main 2025-07-21 13:21:12 +00:00
Showing only changes of commit 66b62d4034 - Show all commits

View File

@@ -42,9 +42,19 @@ APP_VERSION = "5.09.21"
class CrossFitBooker:
"""
A class for automating the booking of CrossFit sessions.
This class handles authentication, session availability checking,
booking, and notifications for CrossFit sessions.
"""
def __init__(self) -> None:
"""
Initialize the CrossFitBooker with necessary attributes.
Sets up authentication tokens, session headers, mandatory parameters,
and initializes the SessionNotifier for sending notifications.
"""
self.auth_token: Optional[str] = None
self.user_id: Optional[str] = None
@@ -543,4 +553,4 @@ class CrossFitBooker:
"""
logging.info("Script interrupted by user. Quitting...")
# Add any cleanup code here
exit(0)
exit(0)