Skip to content

Commit

Permalink
wip osf:storageRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Oct 18, 2024
1 parent cf985d8 commit 2dad701
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions osf/metadata/osf_gathering.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,3 +1134,10 @@ def gather_addons(focus):
yield (_addon_ref, RDF.type, OSF.AddonImplementation)
yield (_addon_ref, DCTERMS.identifier, _addon_settings.short_name)
yield (_addon_ref, SKOS.prefLabel, _addon_settings.config.full_name)


@gather.er(OSF.storageRegion)
def gather_storage_region(focus):
_osfstorage_region = getattr(focus.dbmodel, 'osfstorage_region', None)
if _osfstorage_region is not None:
...

0 comments on commit 2dad701

Please sign in to comment.