Skip to content
Snippets Groups Projects
Commit b45a15ba authored by Blanche Miret's avatar Blanche Miret
Browse files

Send empty dict as metas instead of None

parent 2f373b23
No related branches found
No related tags found
1 merge request!118Resolve "Do not send metas=None on create_entity"
Pipeline #78646 failed
......@@ -21,7 +21,7 @@ class EntityType(Enum):
class EntityMixin(object):
def create_entity(
self, element, name, type, corpus=None, metas=None, validated=None
self, element, name, type, corpus=None, metas=dict(), validated=None
):
"""
Create an entity on the given corpus through API
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment