Skip to content

Commit

Permalink
add new field for source datajon format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Oct 23, 2024
1 parent 5267b7d commit e0e0a8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions harvester/utils/ckan_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ def create_ckan_extras(metadata: dict, harvest_source) -> list[dict]:
"value": harvest_source.internal_records_lookup_table[
metadata["identifier"]]
},
{
"key": "source_datajson_identifier", # dataset is datajson format or not
"value": True,
},
{
"key": "harvest_source_id",
"value": harvest_source.id,
Expand Down

0 comments on commit e0e0a8d

Please sign in to comment.