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

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   I'm on `3.1.0b2` with providers-standard==`1.7.0`.
   
   The `example_hitl_operator` dag can't be loaded due to
   
   ```
   Traceback (most recent call last):
     File 
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/bases/operator.py",
 line 521, in apply_defaults
       result = func(self, **kwargs, default_args=default_args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/bases/operator.py",
 line 1051, in __init__
       raise TypeError(
   TypeError: Invalid arguments were passed to ApprovalOperator (task_id: 
valid_input_and_options). Invalid arguments were:
   **kwargs: {'assigned_users': [{'id': 'admin', 'name': 'admin'}]}
   ```
   
   @Lee-W thank you in advance 🙏 
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   * install `3.1.0b2` as instructed: `pip install -U apache-airflow==3.1.0b2 
apache-airflow-core==3.1.0b2 apache-airflow-task-sdk==1.1.0b2`
   * install the latest providers-standard: `pip install 
apache-airflow-providers-standard==1.7.0`
   * spin up locally
   * voilà 
   
   <img width="826" height="378" alt="Image" 
src="https://github.com/user-attachments/assets/c676aea4-320b-4d90-ad70-dcb2c549b24a";
 />
   
   
   ### Operating System
   
   LM 21.3 with docker python:3.12-slim-bookworm
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to