bypass iter-returns-non-self error
Since the return type is contitional, LGTM is not able to determine that its an iterator
This commit is contained in:
Родитель
589bf92d57
Коммит
f51bcc2092
|
@ -325,7 +325,7 @@ class LogDiskIOBlock(object):
|
|||
mlflow.log_metrics(disk_io_metrics)
|
||||
|
||||
|
||||
class LogTimeOfIterator:
|
||||
class LogTimeOfIterator: # lgtm [py/iter-returns-non-self]
|
||||
"""This class is intended to "wrap" an existing Iterator
|
||||
and log metrics for each next() call"""
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче