Skip to content

Commit

Permalink
id name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim authored and Tim committed Nov 16, 2020
1 parent 0bb660f commit b5873d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataloader/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def loader(self):
}
self._loader.config_dict_property_name_override = {
"Entity": {"inventor": "name", "owner": "name", "applicant": "name"},
"LensID": {"lens_id": "id"},
"LensID": {"LensID": "id", "lens_id": "id"},
}
self._loader.config_list_default_primarykeys = [
"id",
Expand All @@ -90,7 +90,7 @@ def loader(self):
"Family": ["family_id"],
}
self._loader.config_dict_property_to_extra_node = {
"Patent": ["lens_id", "pub_key"],
"Patent": {"lens_id": "copy", "pub_key": "copy"},
"PatentLiteratureCitation": ["pub_key"],
}

Expand Down

0 comments on commit b5873d3

Please sign in to comment.