Skip to content

Commit 4c9b06d

Browse files
authored
Merge pull request #3 from google/develop
Adds required annotation by MyPy
2 parents 52e4105 + 0ef0bfe commit 4c9b06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

megalist_dataflow/sources/batches_from_executions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(self, batch_size: int):
6666
def process(self, element, executions: Iterable[Execution]):
6767
execution = next(
6868
(execution for execution in executions if str(hash(execution)) == element[0]))
69-
batch = []
69+
batch: List[Any] = []
7070
for i, element in enumerate(element[1]):
7171
if i != 0 and i % self._batch_size == 0:
7272
yield Batch(execution, batch)

0 commit comments

Comments
 (0)