puresnmp.typevars module¶
This module contains variour type aliases for type checking
- class puresnmp.typevars.SocketInfo(address: str, port: int)¶
Bases:
objectA simple tuple containing an IP address and port number
- class puresnmp.typevars.SocketResponse(data: bytes, info: SocketInfo)¶
Bases:
objectMetadata for socket responses
- info: SocketInfo¶
- class puresnmp.typevars.TWrappedPyType¶
This is a type variable helps to properly hint functions which take in a “puresnmp” type and return a pythonic type
alias of TypeVar(‘TWrappedPyType’)