Skip to content

Commit e2d0b89

Browse files
author
Jaime Céspedes Sisniega
authored
Merge pull request #199 from IFCA/fix-repr
Fix repr detector callbacks
2 parents b566a4e + e8ae35f commit e2d0b89

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(str, self.callbacks)])}])" # type: ignore
7879
)

0 commit comments

Comments
 (0)