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

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   If a DAG contains "object" `Param`, then the manual triggering for it 
doesn't succeed. In this case, If I push "Trigger" button in UI, it just 
doesn't react.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   ```
   from airflow import DAG                                                      
                                                                                
                                                                                
             
   from airflow.operators.dummy import DummyOperator                            
                                                                                
                                                                                
             
   from airflow.models import Param                                             
                                                                                
                                                                                
             
                                                                                
                                                 
   with DAG(                                                                    
                                                                                
                                                                                
             
       "run-test",                                                              
                                                                                
                                                                                
             
       params={                                                                 
                                                                                
                                                                                
             
           "object_param": Param({}, type="object", description="Object 
field"),                                                                        
                                                                                
                                                                                
        
       },                                                                       
                                                                                
                                                                                
             
       schedule=None,                                                           
                                                                                
                                                                                
             
       catchup=False,                                                           
                                                                                
                                                                                
             
    ) as dag:                                                                   
                                                                                
                                                                                
              
       DummyOperator(task_id="dummy_task")   
   ```
   
   ### Operating System
   
   Ubuntu 22.04.4 LTS
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-common-compat==1.3.0
   apache-airflow-providers-common-io==1.5.0
   apache-airflow-providers-common-sql==1.21.0
   apache-airflow-providers-fab==1.5.2
   apache-airflow-providers-ftp==3.12.0
   apache-airflow-providers-http==5.0.0
   apache-airflow-providers-imap==3.8.0
   apache-airflow-providers-smtp==1.9.0
   apache-airflow-providers-sqlite==4.0.0
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   Installation and setup script
   
   ```bash
   #!/bin/bash
   
   set -ex
   
   AIRFLOW_HOME=~/airflow
   ENV_NAME=airflow-env
   
   function install_python {
       apt-get update
       apt-get -y install python3.10 python3.10-venv
   }
   
   function create_virtualenv {
       python3.10 -m venv $ENV_NAME
       source $ENV_NAME/bin/activate
       pip install --upgrade pip
       pip install apache-airflow==2.10.5 --constraint 
"https://raw.githubusercontent.com/apache/airflow/constraints-2.10.5/constraints-3.10.txt";
   }
   
   function configure_airflow {
       export AIRFLOW_HOME=$AIRFLOW_HOME
       export AIRFLOW__CORE__DAGS_FOLDER=./pipelines
       export AIRFLOW__CORE__LOAD_EXAMPLES=False
       export AIRFLOW__DATABASE__LOAD_DEFAULT_CONNECTIONS=False
       airflow config list > "${AIRFLOW_HOME}/airflow.cfg"
   }
   
   mkdir -p $AIRFLOW_HOME
   cd $AIRFLOW_HOME
   
   install_python
   create_virtualenv
   configure_airflow
   
   airflow standalone
   ```
   
   ### 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