Skip to content

Commit 9618e62

Browse files
committed
use is_table
1 parent 98819cf commit 9618e62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asyncsnmplib/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def get_next_multi(self, oids: Iterable[TOid]
9191
vbs = await self._get_next(oids)
9292
return [(oid, value) for oid, _, value in vbs if oid[:-1] in oids]
9393

94-
async def walk(self, oid: TOid, is_table=False
94+
async def walk(self, oid: TOid, is_table: bool,
9595
) -> List[Tuple[TOid, TValue]]:
9696
next_oid = oid
9797
prefixlen = len(oid)
@@ -131,7 +131,7 @@ def close(self):
131131
class SnmpV1(Snmp):
132132
version = 0
133133

134-
async def walk(self, oid: TOid, is_table=False
134+
async def walk(self, oid: TOid, is_table: bool,
135135
) -> List[Tuple[TOid, TValue]]:
136136
next_oid = oid
137137
prefixlen = len(oid)

0 commit comments

Comments
 (0)