Skip to content

Commit 540ee6a

Browse files
Testing metric params
1 parent 0479b7e commit 540ee6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fmcore/framework/_metric.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def _pre_registration_hook(cls):
123123
@model_validator(mode="before")
124124
@classmethod
125125
def convert_params(cls, params: Dict):
126+
print(f'Metric params: {params}')
126127
params["params"] = super(Metric, cls)._convert_params(cls.Params, params.get("params"))
127128
params["name"] = cls.class_name
128129
if "value" in params:

0 commit comments

Comments
 (0)