Skip to content

Use WorkerConfiguration instead of WorkerRun.configuration

There are two configurations in base-worker and they have confusing names:

  • BaseWorker.config is mapped to WorkerVersion.configuration['configuration']
  • BaseWorker.user_configuration is either a user-provided file if a worker is run locally for debugging, or WorkerRun.configuration.

user_configuration should be updated to use WorkerConfiguration.configuration