- adding usage to specialist execution
- Correcting implementation of usage - Removed some obsolete debug statements
This commit is contained in:
@@ -244,11 +244,6 @@ def execute_specialist(self, tenant_id: int, specialist_id: int, arguments: Dict
|
||||
session_id,
|
||||
create_params={'timezone': user_timezone}
|
||||
)
|
||||
if cached_session:
|
||||
current_app.logger.debug(f"Cached Session successfully retrieved for {session_id}: {cached_session.id}")
|
||||
else:
|
||||
current_app.logger.debug(f"No Cached Session retrieved for {session_id}")
|
||||
|
||||
# Get specialist from database
|
||||
specialist = Specialist.query.get_or_404(specialist_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user