Skip to content

Commit

Permalink
places: add GND
Browse files Browse the repository at this point in the history
* Adds GND resource for places.
* Updates dependencies.
* Fixes safety checks

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep committed Jul 25, 2024
1 parent 82dd201 commit 1df1bfd
Show file tree
Hide file tree
Showing 81 changed files with 53,367 additions and 720 deletions.
12 changes: 12 additions & 0 deletions classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,17 @@ class PlaceIdrefRecord {
get_online_record(cls, id, debug=False)
}
class PlaceGndRecord {
minter = gnd_id_minter
fetcher = gnd_id_fetcher
provider = PlaceGndProvider
name = 'idref'
viaf_source_code = 'RAMEAU'
pid_type = 'place_gnd_pid'
model_cls = PlaceGndMetadata
search = PlaceGndSearch
get_online_record(cls, id, debug=False)
EntityMefRecord --|> ReroMefRecord
ReroMefRecord --|> AgentMefRecord
ReroMefRecord --|> ConceptMefRecord
Expand All @@ -225,4 +236,5 @@ ConceptRecord --|> ConceptReroRecord
ReroMefRecord --|> PlaceRecord
PlaceRecord --|> PlaceIdrefRecord
PlaceRecord --|> PlaceGndRecord
```
Loading

0 comments on commit 1df1bfd

Please sign in to comment.