chore: reformat codes using autoformat.sh

PiperOrigin-RevId: 764584699
This commit is contained in:
Xiang (Sean) Zhou
2025-05-28 23:25:04 -07:00
committed by Copybara-Service
parent 2b5c89b3a9
commit 0250d9e3ac
3 changed files with 69 additions and 65 deletions

View File

@@ -111,7 +111,9 @@ MOCK_SESSION = Session(
SESSION_REGEX = r'^reasoningEngines/([^/]+)/sessions/([^/]+)$'
SESSIONS_REGEX = r'^reasoningEngines/([^/]+)/sessions\?filter=user_id=%22([^%]+)%22.*$' # %22 represents double-quotes in a URL-encoded string
SESSIONS_REGEX = ( # %22 represents double-quotes in a URL-encoded string
r'^reasoningEngines/([^/]+)/sessions\?filter=user_id=%22([^%]+)%22.*$'
)
EVENTS_REGEX = r'^reasoningEngines/([^/]+)/sessions/([^/]+)/events$'
LRO_REGEX = r'^operations/([^/]+)$'
@@ -156,7 +158,7 @@ class MockApiClient:
return {
'name': path,
'done': True,
'response': self.session_dict['4'] # Return the created session
'response': self.session_dict['4'], # Return the created session
}
else:
raise ValueError(f'Unsupported path: {path}')