Skip to content

Commit 020489a

Browse files
committed
⚡ Avoid f-string when logging
1 parent ceba992 commit 020489a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

melusine/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def transform(self, df: MelusineDataset) -> MelusineDataset:
236236
return_cols.append(self.debug_dict_col)
237237

238238
for method in self.transform_methods:
239-
logger.debug("Running transform for %s (%s)", type(self).__name__, getattr(method, "name", "unnamed"))
239+
logger.debug("Running transform for %s (%s)", type(self).__name__, getattr(method, "__name__", "unnamed"))
240240
first_arg_name: str = list(inspect.signature(method).parameters)[0]
241241

242242
if first_arg_name == "row":

0 commit comments

Comments
 (0)