Skip to content

Commit 58a9b83

Browse files
committed
docs: drop optional type directives from the log-stream docstring
1 parent 181dfd4 commit 58a9b83

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/sep/routes/stream_logs.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,11 @@ async def task_history_logs_event_stream(
167167
internal token instead.
168168
169169
:param tasks_client: The TaskAPI client for interacting with the Tasks service.
170-
:type tasks_client: RemoteAPI
171170
:param task_history_id: The ID of the task history whose logs to stream.
172-
:type task_history_id: int
173171
:param request: The FastAPI request object, used to access query parameters.
174-
:type request: Request
175172
:param access_token: Bearer token authenticating the log read as the viewing
176173
user.
177-
:yield: Log entries formatted as server-sent events.
178-
:rtype: str
174+
:return: Log entries formatted as server-sent events.
179175
"""
180176
try:
181177
with tasks_client.auth(access_token) as tasks_api:

0 commit comments

Comments
 (0)