Fixed error when desc() returns multiple results

This commit is contained in:
2020-12-04 17:37:06 +01:00
parent 8b86998225
commit d364878ddb
16 changed files with 408 additions and 19 deletions
+13
View File
@@ -916,6 +916,19 @@ class Sheerka(Concept):
return a.key == b_key
@staticmethod
def isin(a, b):
"""
True if the concept is the list
:param a:
:param b:
:return:
"""
if not isinstance(a, Concept):
return False
return a.key in b
@staticmethod
def get_unknown(metadata):
"""