Skip to content

Commit ead2a12

Browse files
PostgresNodeLogReader::_collect_logs is corrected (typing)
1 parent 3f03860 commit ead2a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ def read(self) -> typing.List[LogDataBlock]:
23042304
assert self._node is not None
23052305
assert isinstance(self._node, PostgresNode)
23062306

2307-
cur_logs: typing.Dict[__class__.LogInfo] = self._collect_logs()
2307+
cur_logs: typing.Dict[str, __class__.LogInfo] = self._collect_logs()
23082308
assert cur_logs is not None
23092309
assert type(cur_logs) == dict # noqa: E721
23102310

@@ -2353,7 +2353,7 @@ def read(self) -> typing.List[LogDataBlock]:
23532353

23542354
return result
23552355

2356-
def _collect_logs(self) -> typing.Dict[LogInfo]:
2356+
def _collect_logs(self) -> typing.Dict[str, LogInfo]:
23572357
assert self._node is not None
23582358
assert isinstance(self._node, PostgresNode)
23592359

0 commit comments

Comments
 (0)