This line (590) isinstance(type, dict) - "type" is a built-in class for type which will never be an instance of dict type.
We should be checking for the "data" object from the response, instead of the built-in "type"
Due to this bug Kernel launch is timing out as Yarn Provisioner cannot get the application_id.