vincbeck commented on code in PR #55736:
URL: https://github.com/apache/airflow/pull/55736#discussion_r2356852057
##########
airflow-core/src/airflow/dag_processing/bundles/manager.py:
##########
@@ -34,52 +37,72 @@
from sqlalchemy.orm import Session
- from airflow.dag_processing.bundles.base import BaseDagBundle
-
_example_dag_bundle_name = "example_dags"
+class _ExternalBundleConfig(BaseModel):
+ """Schema defining the user-specified configuration for a DAG bundle."""
+
+ name: str
+ classpath: str
+ kwargs: dict
+ team_name: str | None = None
+
+
+class _InternalBundleConfig(BaseModel):
+ """
+ Schema used internally (in this file) to define the configuration for a
DAG bundle.
+
+ Configuration defined by users is read must match
``_ExternalBundleConfig``.
Review Comment:
Indeed :)
--
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]