You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method always returned a `ComponentMetricFetcher` (or
`LatestMetricsFetcher`), even for subclasses, which is not what `Self`
is. To make sure that an instance of the subclass is returned we just
use `cls` to call `__new__` instead of `ComponentMetricFetcher` (and fix
the type hint for `LatestMetricsFetcher`).
Signed-off-by: Leandro Lucarella <[email protected]>
0 commit comments