Skip to content

Commit 7497eda

Browse files
Remove unnecessary lambda use in detector repr
1 parent 1e94f52 commit 7497eda

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
@@ -75,5 +75,6 @@ def __repr__(self) -> str:
7575
return (
7676
f"{self.__class__.__name__}"
7777
f"(callbacks=["
78-
f"{', '.join([*map(lambda x: str(x), self.callbacks)])}])" # type: ignore
78+
#f"{', '.join([*map(lambda x: str(x), self.callbacks)])}])" # type: ignore
79+
f"{', '.join([*map(str, self.callbacks)])}])" # type: ignore
7980
)

0 commit comments

Comments
 (0)