Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Asset user facing components to task_sdk (apache#43773)
* feat(task_sdk): Move asset from Airflow core to task_sdk * feat(task_sdk): Move assets.metadata to task_sdk.definitions.asset * fix(providers/amazon): fix common.compat provider ImportError handling * fix(providers/google): fix common.compat provider ImportError handling * fix(providers/openlineage): fix common.compat provider ImportError handling * fix(provider/common/compat): fix common.compat provider ImportError handling * feat(task_sdk): expose Model * docs(nesfragements): update how asset module should be imported * fix(task_sdk): fix 2_10 compatibility * feat(common.compat): use version to decide how to import assets instead of exception * feat(providers/common.compat): use airflow version instead of exception to return compat method * refactor(providers/common/compat): extract airflow version to __init__ * fix(providers): use version compare to decide whether to import asset * feat(decorators/asset): move @asset to task_sdk * refactor(asset): rename _AssetAliasCondition as AssetAliasCondition * feat(task_sdk): make airflow.sdk.definitions.decoratos a package * Revert "feat(task_sdk): make airflow.sdk.definitions.decoratos a package" This reverts commit 324efc0. * feat(task_sdk): move asset related logic in airflow.sdk.definitions.decorators to airflow.sdk.definitions.asset.* * refactor(task_sdk): move @asset to airflow.sdk.definitions.asset.decorators * test(providers/amazon): remove unnecessary compat handling * test(providers/google): remove unnecessary compat handling * test(openlineage): remove unnecessary compat handling * fix(provider/openlineage): fix how asset compat is handled * feat(task_sdk/asset): expose extract_event_key * test(providers/google): change Asset import back to common.compat * docs(newsfragments): fix error naming * docs(newsfragments): fix typo * docs(newsfragment): add missing metadata * fixup! feat(task_sdk): Move asset from Airflow core to task_sdk * fixup! feat(task_sdk): Move asset from Airflow core to task_sdk
- Loading branch information