We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80d2f0d commit aca7447Copy full SHA for aca7447
1 file changed
osf/metrics/es8_metrics.py
@@ -37,7 +37,7 @@ def deserialize(self, data):
37
except ValueError:
38
raise ValueError(f'unsure how to deserialize "{data}" (of type {type(data)}) to YearMonth')
39
40
- def serialize(self, data):
+ def serialize(self, data, skip_empty=True):
41
if isinstance(data, str):
42
return data
43
elif isinstance(data, YearMonth):
0 commit comments