Using v1.0.9-branch with Airflow 1.10.12 via Helm.
Unpause does not work via:
curl -X POST -H 'Content-Type: multipart/form-data' -F 'dag_file=@dag.py' -F 'unpause=on' -F 'force=on' http://127.0.0.1:8080/admin/rest_api/api?api=deploy_dag
{"arguments":{"api":"deploy_dag"},"call_time":"Tue, 03 Nov 2020 18:17:07 GMT","http_response_code":200,"output":"DAG File [<module 'module.name' from '/opt/airflow/dags/dag.py'>] has been uploaded","post_arguments":{"force":"on","unpause":"on"},"response_time":"Tue, 03 Nov 2020 19:19:15 GMT","status":"OK","warning":"Failed to set the state (pause, unpause) of the DAG: module 'module.name' has no attribute 'dag'"}