The repository has not been cloned yet. Run the following command first
to clone the repo, check out the target commit, and install dependencies:
bash
bash /setup_files/setup.sh
The code will then be available at /testbed.
You are working on the repository astronomer/astro-provider-ray (instance: astronomer__astro-provider-ray-124).
The code is located in /testbed.
##119 Header expected to be dictionary but are passed as a string
The headers are retrieved from the connection as a string. But they are expected to be a dictionary.
Getting the error:
ERROR - Failed during execution with error: Failed to create Ray JobSubmissionClient: headers must be a dict, got <class 'str'>
The fix is to use json.loads to convert the header to dict before assigning them to the headers attribute. (hooks.py line 92)