We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc58caa commit 868efc8Copy full SHA for 868efc8
labelbox/data/mixins.py
@@ -55,6 +55,9 @@ class CustomMetricsMixin(BaseModel):
55
def dict(self, *args, **kwargs):
56
res = super().dict(*args, **kwargs)
57
58
+ if "customMetrics" in res and res["customMetrics"] is None:
59
+ res.pop("customMetrics")
60
+
61
if "custom_metrics" in res and res["custom_metrics"] is None:
62
res.pop("custom_metrics")
63
0 commit comments