Skip to content
TheTechRobo edited this page Jul 12, 2022 · 3 revisions

Task Class Hierarchy

  • Task (task.py)
    • SimpleTask (task.py)
    • LimitConcurrent (task.py)
    • ConditionalTask (task.py)
    • ExternalProcess (externalprocess.py)
    • TrackerRequest (tracker.py)
      • GetItemFromTracker (tracker.py)
        Example:
            GetItemFromTracker(f'http://{TRACKER_HOST}/{TRACKER_ID}', downloader, VERSION),
        
        where TRACKER_HOST is the hostname of the tracker (e.g. tracker.archiveteam.org), TRACKER_ID is the tracker project (e.g. glencoe), and VERSION is the pipeline version (update it whenever you make a non-cosmetic change to make administration easier!). Don't define downloader yourself; it'll automatically get populated by Seesaw.
      • SendDoneToTracker (tracker.py)
      • UploadWithTracker (tracker.py)

TODO: Description how to use the different tasks.

Clone this wiki locally