archivebox.crawls.statemachines

Module Contents

Classes

CrawlMachine

State machine for managing Crawl lifecycle.

API

class archivebox.crawls.statemachines.CrawlMachine(crawl, *args, **kwargs)[source]

Bases: statemachine.StateMachine

State machine for managing Crawl lifecycle.

Initialization

model: crawls.models.Crawl[source]

None

queued[source]

‘State(…)’

started[source]

‘State(…)’

sealed[source]

‘State(…)’

tick[source]

None

__repr__() str[source]
__str__() str[source]
can_start() bool[source]
is_finished() bool[source]
enter_started()[source]
enter_sealed()[source]