Updates an Open Library edition's Archive.org item by writing its latest openlibrary_work and openlibrary_edition to the Archive.org item's metadata.
(self)
| 286 | |
| 287 | class sync_ol_ia: |
| 288 | def GET(self): |
| 289 | """Updates an Open Library edition's Archive.org item by writing its |
| 290 | latest openlibrary_work and openlibrary_edition to the |
| 291 | Archive.org item's metadata. |
| 292 | """ |
| 293 | i = web.input(edition_id="") |
| 294 | data = update_ia_metadata_for_ol_edition(i.edition_id) |
| 295 | return delegate.RawText(json.dumps(data), content_type="application/json") |
| 296 | |
| 297 | |
| 298 | class people_view: |
nothing calls this directly
no test coverage detected