You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/19 19:35:17 UTC

[GitHub] [airflow] jedcunningham commented on a change in pull request #16342: Remove ``[core] store_dag_code`` & use DB to get Dag Code

jedcunningham commented on a change in pull request #16342:
URL: https://github.com/apache/airflow/pull/16342#discussion_r692424237



##########
File path: UPDATING.md
##########
@@ -174,6 +174,20 @@ with DAG(dag_id="task_concurrency_example"):
 
 When marking a task success/failed in Graph View, its downstream tasks that are in failed/upstream_failed state are automatically cleared.
 
+### `[core] store_dag_code` has been removed
+
+While DAG Serialization is a strict requirements since Airflow 2, we allowed users to control
+where the Webserver looked for when showing the **Code View**.
+
+If `[core] store_dag_code` was set to `True`, the Scheduler stored the code in the DAG file in the
+DB (in `dag_code` table) as plain string. And the webserver just read it from the same table.

Review comment:
       ```suggestion
   DB (in `dag_code` table) as a plain string, and the webserver just read it from the same table.
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org