Skip to content
Snippets Groups Projects

Retrieve ARKINDEX_CORPUS_ID in create_entity when corpus is None

Merged Eva Bardou requested to merge corpus-create-entity into master
All threads resolved!
2 files
+ 4
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -18,7 +18,9 @@ class EntityType(Enum):
class EntityMixin(object):
def create_entity(self, element, name, type, corpus, metas=None, validated=None):
def create_entity(
self, element, name, type, corpus=None, metas=None, validated=None
):
"""
Create an entity on the given corpus through API
Return the ID of the created entity
Loading