shashbha14 opened a new pull request, #46936: URL: https://github.com/apache/airflow/pull/46936
This PR introduces SdkDAG inside the SDK to replace the direct dependency on airflow.models.dag within the asset decorator. This improves modularity and aligns with the project’s architectural principles. Changes: Implemented SdkDAG within airflow.sdk.dag. Updated asset decorators (@asset and @asset.multi) to use SdkDAG instead of airflow.models.dag. Ensured compatibility with existing asset definitions. Why This Change? Addresses [Issue #46927](https://github.com/apache/airflow/issues/46927). Provides a structured way to define DAGs within the SDK. Improves maintainability by reducing dependencies on core Airflow modules. Next Steps: Run full test suite to validate the changes. Gather feedback from maintainers for further refinements. -- 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]
