ingest.messages package¶
Submodules¶
ingest.messages.create_ingest_jobs module¶
Defines a command message that creates job models
-
class
ingest.messages.create_ingest_jobs.
CreateIngest
¶ Bases:
messaging.messages.message.CommandMessage
Command message that creates the ingest job
-
execute
()¶
-
static
from_json
(json_dict)¶
-
to_json
()¶
-
-
ingest.messages.create_ingest_jobs.
create_scan_ingest_job_message
(ingest_id, scan_id)¶ Creates a message to create the ingest job for a scan
Parameters: - ingest_id (int) – ID of the ingest
- scan_id (int) – The ID of the scan
-
ingest.messages.create_ingest_jobs.
create_strike_ingest_job_message
(ingest_id, strike_id)¶ Creates a message to create the ingest job for a strike
Parameters: - ingest_id (int) – ID of the ingest
- strike_id (int) – The ID of the strike