oarepo_oaipmh_harvester.views
oarepo_oaipmh_harvester.views
UI views - the public /about/harvest page listing the harvesters.
The page is rendered from oarepo_oaipmh_harvester/about_harvest.html (override it in the
instance's templates/oarepo_oaipmh_harvester/ folder). It gets harvesters - a list of
(harvester, stats, can_manage) ordered by the harvester name, stats having
last_harvested, records and failed (records whose last harvest has errors), and
can_manage telling whether the current user may open the harvester in the administration
(administration access or harvest manager of the harvester) - links are shown then.
about_harvest() -> str
Render the list of harvesters with their configuration and statistics.
Source code in oarepo_oaipmh_harvester/views.py
create_ui_blueprint(_app: Flask) -> Blueprint
UI blueprint with the /about/harvest page and the package's templates.