Skip to content

Commit 59fb946

Browse files
committed
fix typing
1 parent 36405bd commit 59fb946

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudshell/snmp/core/snmp_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def set(self, snmp_set_oids): # noqa: A003
136136

137137
return service.result
138138

139-
def get_property(self, snmp_oid) -> SnmpResponse | None:
139+
def get_property(self, snmp_oid: SnmpMibObject | SnmpRawOid) -> SnmpResponse:
140140
response = SnmpResponse(
141141
str(snmp_oid.get_oid(self._snmp_engine)),
142142
None,

0 commit comments

Comments
 (0)