Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PersonImporter inherits from different class than other importers #100

Closed
koeaw opened this issue Jan 21, 2025 · 1 comment · Fixed by #101
Closed

PersonImporter inherits from different class than other importers #100

koeaw opened this issue Jan 21, 2025 · 1 comment · Fixed by #101
Labels
app-entities Anything to do with the model classes central to the ontology data To do with the application's data and data handling

Comments

@koeaw
Copy link
Collaborator

koeaw commented Jan 21, 2025

Based on what the other importer( stub)s look like, I'm assuming PersonImporter too should inherit from BaseEntityImporter, not GenericModelImporter?

class PersonImporter(GenericModelImporter):

@koeaw koeaw added data To do with the application's data and data handling app-entities Anything to do with the model classes central to the ontology labels Jan 21, 2025
koeaw added a commit that referenced this issue Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Set `PersonImporter` to inherit from `BaseEntityImporter`
instead of `GenericModelImporter`, like other importers/
importer stubs.

Closes: #100
koeaw added a commit that referenced this issue Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Set `PersonImporter` to inherit from `BaseEntityImporter`
instead of `GenericModelImporter`, like other existing
importers/importer stubs.

Closes: #100
@koeaw
Copy link
Collaborator Author

koeaw commented Jan 21, 2025

Discussed at JF -> yes, this inherits from the wrong class.

koeaw added a commit that referenced this issue Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Set `PersonImporter` to inherit from `BaseEntityImporter`
instead of `GenericModelImporter`, like other existing
importers/importer stubs.

Closes: #100
@koeaw koeaw closed this as completed in bda20a1 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-entities Anything to do with the model classes central to the ontology data To do with the application's data and data handling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant