diff --git a/src/linkahead/apiutils.py b/src/linkahead/apiutils.py index 1aa127d31d6456076ffdd6dc5b591c3bb2f7b0b7..b0b65d8d6819fd98ce0337800ab27284d5e1940a 100644 --- a/src/linkahead/apiutils.py +++ b/src/linkahead/apiutils.py @@ -291,6 +291,7 @@ def compare_entities(entity0: Optional[Entity] = None, if entity0 is entity1: return diff + # FIXME Why not simply return a diff which says that the types are different?g if type(entity0) is not type(entity1): raise ValueError( "Comparison of different Entity types is not supported.")