alex-astronomer commented on pull request #18615: URL: https://github.com/apache/airflow/pull/18615#issuecomment-936668630
Passing a `List[k8s.V1EnvVar]` through XCOM will not work for the same reason, I can confirm @RickRen7575's point there. Here's some more color around that: Even when passing an XCOM with the `render_template_as_native_obj` flag set to `True`, with the original code before these changes we would still be operating on that `List` before it gets rendered as the native object. Not a heavy operation, of course, just checking that the type of the value passed is actually a `List`, but if we were to do this check from the initializer, it would still be a string at that point. -- 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]
