Skip to content

Commit e75678d

Browse files
committed
Fix failed checks
1 parent a0682b5 commit e75678d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/google/adk/runners.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969

7070
class StopSignal:
7171

72-
def __init__(self):
72+
def __init__(self) -> None:
7373
self.stopped = False
7474

75-
def stop(self):
75+
def stop(self) -> None:
7676
self.stopped = True
7777

78-
def reset(self):
78+
def reset(self) -> None:
7979
self.stopped = False
8080

8181
def is_set(self) -> bool:

tests/unittests/runners/test_cancel_async.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
from google.adk.runners import StopSignal
99
from google.genai.types import Content
1010
from google.genai.types import Part
11-
from typing import Any, AsyncGenerator
11+
from typing import Any
12+
from typing import AsyncGenerator
1213
import pytest
1314

1415

0 commit comments

Comments
 (0)