Skip to content

Commit 1e94f52

Browse files
Fix repr detector callbacks
1 parent b566a4e commit 1e94f52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frouros/detectors/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ def __repr__(self) -> str:
7474
"""
7575
return (
7676
f"{self.__class__.__name__}"
77-
f"(callbacks=[{', '.join(self.callbacks)}])" # type: ignore
77+
f"(callbacks=["
78+
f"{', '.join([*map(lambda x: str(x), self.callbacks)])}])" # type: ignore
7879
)

0 commit comments

Comments
 (0)