Skip to content

Retrieve WorkerRun configuration

Depends on https://gitlab.com/arkindex/backend/-/issues/784

When the ARKINDEX_WORKER_RUN_ID is available, retrieve the configuration from the API, and make it available to implementation as self.user_configuration

A few notes:

  • do not crash the worker if the ID is not available, or the endpoint does not provide a config
  • do not fetch the configuration in --dev mode