Skip to content

Commit 34dffab

Browse files
committed
[stats] Update TODO
1 parent dbbe00a commit 34dffab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scenedetect/stats_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ def register_metrics(self, metric_keys: ty.Iterable[str]) -> None:
118118
"""Register a list of metric keys that will be used by the detector."""
119119
self._metric_keys = self._metric_keys.union(set(metric_keys))
120120

121-
# TODO(v1.0): This interface is difficult to use, we should support the dictionary protocol.
121+
# TODO(#507): This interface is difficult to use, we should support the dictionary protocol.
122+
# Ideally this should work with Panadas. This could be done with the v0.7 API change.
122123
def get_metrics(
123124
self, timecode: FrameTimecode, metric_keys: ty.Iterable[str]
124125
) -> ty.List[ty.Any]:

0 commit comments

Comments
 (0)