Skip to content

Commit

Permalink
Removed asyncore leftover.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Sep 22, 2024
1 parent 57140a2 commit 053812f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
""" #
from pysnmp.entity import engine, config
from pysnmp.entity.rfc3413 import cmdrsp, context
from pysnmp.carrier.asyncore.dgram import udp
from pysnmp.carrier.asyncio.dgram import udp
from pysnmp.smi import instrum, builder
from pysnmp.proto.api import v2c

Expand Down
4 changes: 2 additions & 2 deletions pysnmp/hlapi/v1arch/asyncio/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class CommunityData:
"""Creates SNMP v1/v2c configuration entry.
This object can be used by
:py:class:`~pysnmp.hlapi.v1arch.asyncore.AsyncCommandGenerator` or
:py:class:`~pysnmp.hlapi.v1arch.asyncore.AsyncNotificationOriginator`
:py:class:`~pysnmp.hlapi.v1arch.asyncio.AsyncCommandGenerator` or
:py:class:`~pysnmp.hlapi.v1arch.asyncio.AsyncNotificationOriginator`
and their derivatives for conveying SNMP v1/v2c configuration.
Parameters
Expand Down
8 changes: 4 additions & 4 deletions pysnmp/hlapi/v1arch/asyncio/cmdgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def getCmd(
Parameters
----------
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncore.SnmpDispatcher`
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncio.SnmpDispatcher`
Class instance representing asynio-based asynchronous event loop and
associated state information.
Expand Down Expand Up @@ -178,7 +178,7 @@ async def setCmd(
Parameters
----------
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncore.SnmpDispatcher`
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncio.SnmpDispatcher`
Class instance representing asynio-based asynchronous event loop and
associated state information.
Expand Down Expand Up @@ -309,7 +309,7 @@ async def nextCmd(
Parameters
----------
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncore.SnmpDispatcher`
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncio.SnmpDispatcher`
Class instance representing asynio-based asynchronous event loop and
associated state information.
Expand Down Expand Up @@ -459,7 +459,7 @@ async def bulkCmd(
Parameters
----------
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncore.SnmpDispatcher`
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncio.SnmpDispatcher`
Class instance representing asynio-based asynchronous event loop and
associated state information.
Expand Down
2 changes: 1 addition & 1 deletion pysnmp/hlapi/v1arch/asyncio/ntforg.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def sendNotification(
Parameters
----------
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncore.SnmpDispatcher`
snmpDispatcher: :py:class:`~pysnmp.hlapi.v1arch.asyncio.SnmpDispatcher`
Class instance representing asynio-based asynchronous event loop and
associated state information.
Expand Down
2 changes: 1 addition & 1 deletion pysnmp/hlapi/v1arch/asyncio/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class instance.
Examples
--------
>>> from pysnmp.hlapi.v1arch.asyncore import UdpTransportTarget
>>> from pysnmp.hlapi.v1arch.asyncio import UdpTransportTarget
>>> await UdpTransportTarget.create(('demo.pysnmp.com', 161))
UdpTransportTarget(('195.218.195.228', 161), timeout=1, retries=5)
>>>
Expand Down

0 comments on commit 053812f

Please sign in to comment.