You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ipyannotator has an API to use its previously defined annotators. The API uses a pair of input/output and when this pair it's not configured the API should throw a friendly exception for the user.
Right now when a pair it's not correctly configured the API prints a friendly message (Pair (Annotator Input type: CustomInput, Annotator Output type: NoOutput) is not supported!) but also throws a random exception AttributeError: 'NoneType' object has no attribute 'get_annotator' this behavior can be reproduced using the following code:
Ipyannotator has an API to use its previously defined annotators. The API uses a pair of input/output and when this pair it's not configured the API should throw a friendly exception for the user.
Right now when a pair it's not correctly configured the API prints a friendly message (
Pair (Annotator Input type: CustomInput, Annotator Output type: NoOutput) is not supported!
) but also throws a random exceptionAttributeError: 'NoneType' object has no attribute 'get_annotator'
this behavior can be reproduced using the following code:The expected behavior it's:
PairUnsupported
)AttributeError
The text was updated successfully, but these errors were encountered: