potiuk commented on code in PR #64760: URL: https://github.com/apache/airflow/pull/64760#discussion_r3044767674
########## airflow-core/docs/public-airflow-interface.rst: ########## @@ -548,9 +548,10 @@ but in Airflow they are not parts of the Public Interface and might change any t internal implementation detail and you should not assume they will be maintained in a backwards-compatible way. -**Direct metadata database access from task code is no longer allowed**. -Task code cannot directly access the metadata database to query Dag state, task history, -or Dag runs. Instead, use one of the following alternatives: +**Direct metadata database access from worker task code is no longer allowed**. +Worker task code cannot directly access the metadata database to query Dag state, task history, Review Comment: I changed it this way: > **Direct metadata database access from code authored by Dag Authors is no longer allowed**. The code authored by Dag Authors cannot directly access the metadata database to query Dag state, task history, -- 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]
