diff --git a/pysnmp/hlapi/asyncio/cmdgen.py b/pysnmp/hlapi/asyncio/cmdgen.py index 2f998d209..3a55a5e64 100644 --- a/pysnmp/hlapi/asyncio/cmdgen.py +++ b/pysnmp/hlapi/asyncio/cmdgen.py @@ -621,7 +621,7 @@ async def walkCmd( *varBinds, **options ) -> AsyncGenerator[ - tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]], + "tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]]", None, ]: r"""Creates a generator to perform one or more SNMP GETNEXT queries. @@ -806,7 +806,7 @@ async def bulkWalkCmd( *varBinds, **options ) -> AsyncGenerator[ - tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]], + "tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]]", None, ]: r"""Creates a generator to perform one or more SNMP GETBULK queries. diff --git a/pysnmp/hlapi/asyncio/sync/cmdgen.py b/pysnmp/hlapi/asyncio/sync/cmdgen.py index e34c66525..65df91848 100644 --- a/pysnmp/hlapi/asyncio/sync/cmdgen.py +++ b/pysnmp/hlapi/asyncio/sync/cmdgen.py @@ -412,7 +412,7 @@ def walkCmd( *varBinds, **options ) -> Generator[ - tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]], + "tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]]", None, None, ]: @@ -540,7 +540,7 @@ def bulkWalkCmd( *varBinds, **options ) -> Generator[ - tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]], + "tuple[errind.ErrorIndication, Integer32 | int, Integer32 | int, tuple[ObjectType]]", None, None, ]: