git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Template for Operator' Json Argument


Hi All,

We have implemented a custom operator which is derived from baseOperator. Custom operator takes a JSON argument. Some fields of this Json are string and others are integer. We need to templatised the string fields only and not integer. But on doing this we are getting the error airflow.exceptions.AirflowException: Type '<type 'int'>' used for parameter 'json[number]' is not supported for templating.

So is this possible to have both string and integer in templatised field.

Thanks,
Raman Gupta



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-airflow-development/msg03261.html on line 77
Call Stack
#TimeMemoryFunctionLocation
10.0008363128{main}( ).../msg03261.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-airflow-development/msg03261.html on line 77
Call Stack
#TimeMemoryFunctionLocation
10.0008363128{main}( ).../msg03261.html:0