jlaneve opened a new issue, #31877:
URL: https://github.com/apache/airflow/issues/31877

   ### Apache Airflow version
   
   2.6.1
   
   ### What happened
   
   The type of the libraries field in the DatabricksSubmitRunOperator is 
incorrect. According to the Databricks docs, the values should look more like:
   
   ```python
   [
       {"pypi": { "package": "simplejson" }},
       {"pypi": {"package": "Faker"}},
   ]
   ```
   
   as opposed to what the type hint implies:
   
   ```python
   [
       {"pypi": "simplejson"},
       {"pypi":  "Faker"},
   ]
   ```
   
   
https://github.com/apache/airflow/blob/providers-databricks/4.2.0/airflow/providers/databricks/operators/databricks.py#L306
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   n/a
   
   ### Operating System
   
   macOS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to