geonode.harvesting.models
Attributes
Classes
Functions
|
Module Contents
- class geonode.harvesting.models.Harvester[source]
Bases:
django.db.models.Model- clean()[source]
Perform model validation by inspecting fields that depend on each other.
We validate the harvester type specific configuration by determining if it meets the configured jsonschema (if any).
- update_availability(timeout_seconds: int | None = 5)[source]
Use the harvesting worker to check if the remote service is available
- get_harvester_worker() BaseHarvesterWorker[source]
- class geonode.harvesting.models.AsynchronousHarvestingSession[source]
Bases:
django.db.models.Model
- geonode.harvesting.models.validate_worker_configuration(worker_type: BaseHarvesterWorker, worker_config: Dict)[source]