diff --git a/ariadne/contrib/inception_util.py b/ariadne/contrib/inception_util.py index 1269db2..382a5aa 100644 --- a/ariadne/contrib/inception_util.py +++ b/ariadne/contrib/inception_util.py @@ -34,7 +34,7 @@ def create_prediction( feature: str, begin: int, end: int, - label: str, + label: Optional[str] = None, score: Optional[int] = None, score_explanation: Optional[str] = None, auto_accept: Optional[bool] = None, @@ -48,7 +48,7 @@ def create_span_prediction( feature: str, begin: int, end: int, - label: str, + label: Optional[str] = None, score: Optional[int] = None, score_explanation: Optional[str] = None, auto_accept: Optional[bool] = None, @@ -90,7 +90,7 @@ def create_relation_prediction( feature: str, source: FeatureStructure, target: FeatureStructure, - label: str, + label: Optional[str] = None, score: Optional[int] = None, score_explanation: Optional[str] = None, auto_accept: Optional[bool] = None,