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()

See messaging.messages.message.CommandMessage.execute()

static from_json(json_dict)

See messaging.messages.message.CommandMessage.from_json()

to_json()

See messaging.messages.message.CommandMessage.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

Module contents