We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0682b5 commit e75678dCopy full SHA for e75678d
2 files changed
src/google/adk/runners.py
@@ -69,13 +69,13 @@
69
70
class StopSignal:
71
72
- def __init__(self):
+ def __init__(self) -> None:
73
self.stopped = False
74
75
- def stop(self):
+ def stop(self) -> None:
76
self.stopped = True
77
78
- def reset(self):
+ def reset(self) -> None:
79
80
81
def is_set(self) -> bool:
tests/unittests/runners/test_cancel_async.py
@@ -8,7 +8,8 @@
8
from google.adk.runners import StopSignal
9
from google.genai.types import Content
10
from google.genai.types import Part
11
-from typing import Any, AsyncGenerator
+from typing import Any
12
+from typing import AsyncGenerator
13
import pytest
14
15
0 commit comments