Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#585 | added parent_concept_urls in concept'…
Browse files Browse the repository at this point in the history
…s list of allowed fields for parallel importer
  • Loading branch information
snyaggarwal committed Apr 23, 2021
1 parent 06ce650 commit 43aadbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/importers/models.py
Expand Up @@ -349,7 +349,10 @@ def process(self):

class ConceptImporter(BaseResourceImporter):
mandatory_fields = {"id"}
allowed_fields = ["id", "external_id", "concept_class", "datatype", "names", "descriptions", "retired", "extras"]
allowed_fields = [
"id", "external_id", "concept_class", "datatype", "names", "descriptions", "retired", "extras",
"parent_concept_urls",
]

def __init__(self, data, user, update_if_exists):
super().__init__(data, user, update_if_exists)
Expand Down

0 comments on commit 43aadbf

Please sign in to comment.