From 61b92a506729e33cbe2cf8796ffed72791ec7bc5 Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Mon, 30 Oct 2023 21:44:03 -0700 Subject: [PATCH] making return type optional --- carnot/carnot_vote_aggregation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carnot/carnot_vote_aggregation.py b/carnot/carnot_vote_aggregation.py index bf78fe4..4015bc6 100644 --- a/carnot/carnot_vote_aggregation.py +++ b/carnot/carnot_vote_aggregation.py @@ -321,7 +321,7 @@ class Carnot2(Carnot): # Define your types here (Id, View, StandardQc, AggregateQc, etc.) - def concatenate_aggregate_qcs(qc_set: Set[Union[StandardQc, AggregateQc]]) -> AggregateQc: + def concatenate_aggregate_qcs(qc_set: Set[Union[StandardQc, AggregateQc]]) -> Optional[AggregateQc]: if qc_set is None: return None