Edit: spark_worker.py