vincbeck commented on code in PR #67251:
URL: https://github.com/apache/airflow/pull/67251#discussion_r3281564594


##########
airflow-core/src/airflow/models/asset.py:
##########
@@ -592,6 +592,9 @@ class DagScheduleAssetReference(Base):
     asset_id: Mapped[int] = mapped_column(Integer, primary_key=True, 
nullable=False)
     dag_id: Mapped[str] = mapped_column(StringID(), primary_key=True, 
nullable=False)
     allow_producer_teams: Mapped[list | None] = mapped_column(sa.JSON(), 
nullable=True)
+    allow_global_producers: Mapped[bool] = mapped_column(
+        sa.Boolean(), nullable=False, server_default=sa.true()

Review Comment:
   It makes to me to enable it by default. Global Dags by nature are global so, 
to me, it makes sense everybody can consume/produce from/to it by default. WDYT?



-- 
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]

Reply via email to