You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in the new function,Slim.get, the only parameters that can be passed are address and port. and of course, it raises an Error:
errorIndication, errorStatus, errorIndex, varBinds = await slim.get(
File "/lib/python3.10/site-packages/pysnmp/hlapi/asyncio/slim.py", line 108, in get
return await getCmd(
File "/lib/python3.10/site-packages/pysnmp/hlapi/asyncio/cmdgen.py", line 155, in getCmd
vbProcessor.makeVarBinds(snmpEngine, varBinds), __cbFun,
File "/lib/python3.10/site-packages/pysnmp/hlapi/varbinds.py", line 32, in makeVarBinds
elif isinstance(varBind[0], ObjectIdentity):
TypeError: 'int' object is not subscriptable
my question is how to use timeout and reties in Slim.get.
thanks
The text was updated successfully, but these errors were encountered:
previously, we could pass
timeout
andretries
as parameters to theUdpTransportTarget
ingetCmd
.for example:
but in the new function,
Slim.get
, the only parameters that can be passed areaddress
andport
. and of course, it raises an Error:my question is how to use timeout and reties in
Slim.get
.thanks
The text was updated successfully, but these errors were encountered: