Export loading is broken for worker types

Bastien Abadie
2022-07-05T14:10:27Z

While loading a recent export, I got the following issue

Importing workers
Worker import failed: Cannot assign "'recognizer'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'dla'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'dla'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'dla'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'dla'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'classifier'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'recognizer'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'classifier'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'dla'": "Worker.type" must be a "WorkerType" instance.
Worker import failed: Cannot assign "'HTR'": "Worker.type" must be a "WorkerType" instance.