Skip to content

Commit

Permalink
fix(importers): inherit from BaseEntityImporter
Browse files Browse the repository at this point in the history
Set `PersonImporter` to inherit from `BaseEntityImporter`
instead of `GenericModelImporter`, like other existing
importers/importer stubs.

Closes: #100
  • Loading branch information
koeaw committed Jan 21, 2025
1 parent 6b135fb commit bda20a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/importers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EventImporter(BaseEntityImporter):
pass


class PersonImporter(GenericModelImporter):
class PersonImporter(BaseEntityImporter):
def mangle_data(self, data):
if "profession" in data:
del data["profession"]
Expand Down

0 comments on commit bda20a1

Please sign in to comment.