Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: c909fdf8b78ae72a153c8c8f3dde5bb5cb740d5d
https://github.com/tribe29/checkmk/commit/c909fdf8b78ae72a153c8c8f3dde5bb5c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M cmk/fetchers/snmp.py
Log Message:
-----------
Improve SNMPFetcher typing
We now pass minimal, read-only types to SNMPFetcher.__init__(). The
result is both more flexible and safer.---Functions should generally
take the least derived type and return the most derived one that
they can (rules of variance).
CMK-5450
Change-Id: Ie9b8827793e86adc0986c27db949e60e938bfb36