Skip to content

Commit 8d7e59c

Browse files
committed
slots
1 parent 790e5cd commit 8d7e59c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

asyncsnmplib/protocol.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131

3232
class SnmpProtocol(asyncio.DatagramProtocol):
33-
__slots__ = ('loop', 'target', 'transport', 'requests', '_request_id')
33+
__slots__ = (
34+
'loop', 'target', 'transport', 'requests', '_request_id', '_timeouts')
3435

3536
def __init__(self, target, timeouts: tuple[int, ...] = DEFAULT_TIMEOUTS):
3637
self.loop = asyncio.get_running_loop()

asyncsnmplib/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.6'
1+
__version__ = '1.0.7'

0 commit comments

Comments
 (0)