The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user uranusjr (triggered by uranusjr).

Head commit for run:
c04b4eaad87813326a94e157065be1b4cedeb94e / Tzu-ping Chung <[email protected]>
Move mapped kwargs introspection to separate type

To support list-of-dicts task-mapping (expand_kwargs), we need different
logic in many places of task-mapping to handle the two difference
"shapes" of data. Instead of putting conditionals everywhere, we should
use polymorphism to switch between different implementations.

This PR lays the foundation to this. A new class DictOfListsExpandInput
is added to wrap kwargs received from expand(), and related logic is
moved from MappedOperator to that class. It should be quite obvious in
various places that I'm "leaving room" for something else; if you feel
some abstraction is unnecessary (it's probably not), check the WIP PR
to make sure.

I also included some trivial annotation and code formatting stuffs here
since they don't warrant a separate PR and fit as well here as anywhere
else.

Report URL: https://github.com/apache/airflow/actions/runs/2651342565

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to