-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Science Museum ingester with API changes (#4105)
* Update ScienceMuseum ingester to use new API * Update tests * Update url format * Fix urls in tests * Add filesize
- Loading branch information
Showing
12 changed files
with
2,475 additions
and
4,253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/measurements.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"measurements": { | ||
"filesize": { | ||
"units": "bytes", | ||
"value": 58772 | ||
}, | ||
"dimensions": [ | ||
{ | ||
"dimension": "height", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"accession number": "1999-299/1", | ||
"category": "SCM - Smoking", | ||
"creditline": "McPhail, Mary", | ||
"description": "Packet of 10 'Gold Flake' cigarettes by W D & HO Wills, England, 1920-1950", | ||
"name": "cigarette packet" | ||
"accession number": "A67864", | ||
"category": "SCM - Classical & Medieval Medicine", | ||
"description": "Small bronze amulet, possibly phallic, or stomach, probably Roman, from Italy, 200BC-200AD", | ||
"name": "amulet", | ||
"creditline": "Arte Antica e Moderna" | ||
} |
Oops, something went wrong.