potiuk commented on issue #32700: URL: https://github.com/apache/airflow/issues/32700#issuecomment-1656936149
My guess is that the bug is in this code you have not revealed and it sometimes return None in some circumstances. there is literally no other way to see it happening. I suggest you make an experiment and for example save results of your "internal_method" call in files somewhere in tmp directory and print the location of those files. That should not cause too much of an overhead and you should be able to correlate the return of that function with the failure and see where the "null" value comes from. For comparision you can also modify Airflow's source code just before ` self._expand_mapped_kwargs(context, session)` and also log the values that `expand` method receives. That would give even more understanding where it comes from and by narrowing it down to the case where you can correlate all of those you can provide more information. We have no idea to investigate it otherwise, so there is no point in keeping that issue open, I am converting it into a discussion and if you have results of your experiment, we cam attempt to help again, but without those details there is no much help we can give to help to solve your problem - we cannot debug your code, I am afraid. -- 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]
