diff --git a/src/app/db/models/custom_types.py b/src/app/db/models/custom_types.py index fc64c3da..23ff23ba 100644 --- a/src/app/db/models/custom_types.py +++ b/src/app/db/models/custom_types.py @@ -41,6 +41,7 @@ def process_result_value(self, value, dialect): if value and isinstance(value, dict): obj = Funding.from_dict(value) obj.round_name = FundingRound(obj.round_name) if obj.round_name else FundingRound.SERIES_UNKNOWN + return obj return None