There was an error while loading. Please reload this page.
1 parent 181dfd4 commit 58a9b83Copy full SHA for 58a9b83
1 file changed
app/sep/routes/stream_logs.py
@@ -167,15 +167,11 @@ async def task_history_logs_event_stream(
167
internal token instead.
168
169
:param tasks_client: The TaskAPI client for interacting with the Tasks service.
170
- :type tasks_client: RemoteAPI
171
:param task_history_id: The ID of the task history whose logs to stream.
172
- :type task_history_id: int
173
:param request: The FastAPI request object, used to access query parameters.
174
- :type request: Request
175
:param access_token: Bearer token authenticating the log read as the viewing
176
user.
177
- :yield: Log entries formatted as server-sent events.
178
- :rtype: str
+ :return: Log entries formatted as server-sent events.
179
"""
180
try:
181
with tasks_client.auth(access_token) as tasks_api:
0 commit comments