You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dstandish (via GitHub)" <gi...@apache.org> on 2025/03/19 16:27:54 UTC
[PR] Replace DAGs with dags in docs [airflow]
dstandish opened a new pull request, #47959:
URL: https://github.com/apache/airflow/pull/47959
(no comment)
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "aritra24 (via GitHub)" <gi...@apache.org>.
aritra24 commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004264995
##########
docs/apache-airflow/administration-and-deployment/dag-serialization.rst:
##########
@@ -79,14 +79,14 @@ Add the following settings in ``airflow.cfg``:
compress_serialized_dags = False
* ``min_serialized_dag_update_interval``: This flag sets the minimum interval (in seconds) after which
- the serialized DAGs in the DB should be updated. This helps in reducing database write rate.
+ the serialized dags in the DB should be updated. This helps in reducing database write rate.
* ``min_serialized_dag_fetch_interval``: This option controls how often the Serialized DAG will be re-fetched
from the DB when it is already loaded in the DagBag in the Webserver. Setting this higher will reduce
load on the DB, but at the expense of displaying a possibly stale cached version of the DAG.
* ``max_num_rendered_ti_fields_per_task``: This option controls the maximum number of Rendered Task Instance
Fields (Template Fields) per task to store in the Database.
* ``compress_serialized_dags``: This option controls whether to compress the Serialized DAG to the Database.
- It is useful when there are very large DAGs in your cluster. When ``True``, this will disable the DAG dependencies view.
+ It is useful when there are very large dags in your cluster. When ``True``, this will disable the DAG dependencies view.
Review Comment:
Nit: Looks like we only changes the plural DAGs but missed the singular DAG.
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004274816
##########
docs/apache-airflow/administration-and-deployment/dag-serialization.rst:
##########
@@ -79,14 +79,14 @@ Add the following settings in ``airflow.cfg``:
compress_serialized_dags = False
* ``min_serialized_dag_update_interval``: This flag sets the minimum interval (in seconds) after which
- the serialized DAGs in the DB should be updated. This helps in reducing database write rate.
+ the serialized dags in the DB should be updated. This helps in reducing database write rate.
* ``min_serialized_dag_fetch_interval``: This option controls how often the Serialized DAG will be re-fetched
from the DB when it is already loaded in the DagBag in the Webserver. Setting this higher will reduce
load on the DB, but at the expense of displaying a possibly stale cached version of the DAG.
* ``max_num_rendered_ti_fields_per_task``: This option controls the maximum number of Rendered Task Instance
Fields (Template Fields) per task to store in the Database.
* ``compress_serialized_dags``: This option controls whether to compress the Serialized DAG to the Database.
- It is useful when there are very large DAGs in your cluster. When ``True``, this will disable the DAG dependencies view.
+ It is useful when there are very large dags in your cluster. When ``True``, this will disable the DAG dependencies view.
Review Comment:
because, basically DAGs will _never_ be a reference to the _model_ i.e. _class_ -- but DAG might be so more scrutiny is required for that one
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2005537673
##########
docs/spelling_wordlist.txt:
##########
@@ -381,6 +381,7 @@ dagruns
DagRunState
dagRunState
DAGs
Review Comment:
But I do agree it would be great. Maybe instead we can add exclusions for the existing release notes or make `DAG` in reverse quotes there. I guess there will be a long time where we (and our contributors) will still continue using DAG - muscle memory and simple lack of knowledge that we changed it is going to make the DAG still creep in if we do not have automation that wil simply flag it as "wrong"
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "RNHTTR (via GitHub)" <gi...@apache.org>.
RNHTTR commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004334115
##########
docs/spelling_wordlist.txt:
##########
@@ -381,6 +381,7 @@ dagruns
DagRunState
dagRunState
DAGs
Review Comment:
Thinking out loud: I wonder if removing `DAGs` and `DAG` from the docs spellcheck will help find any other instances that were missed
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "RNHTTR (via GitHub)" <gi...@apache.org>.
RNHTTR commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004332005
##########
docs/apache-airflow/administration-and-deployment/dagfile-processing.rst:
##########
@@ -19,7 +19,7 @@
DAG File Processing
-------------------
-DAG File Processing refers to the process of turning Python files contained in the DAGs folder into DAG objects that contain tasks to be scheduled.
+DAG File Processing refers to the process of reading the python files that define your dags and storing them such that the scheduler can schedule them.
Review Comment:
I believe you can find and replace only in specific files (e.g. only in `.rst`) for most docs references in the non-plural case.
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004273137
##########
docs/apache-airflow/administration-and-deployment/dag-serialization.rst:
##########
@@ -79,14 +79,14 @@ Add the following settings in ``airflow.cfg``:
compress_serialized_dags = False
* ``min_serialized_dag_update_interval``: This flag sets the minimum interval (in seconds) after which
- the serialized DAGs in the DB should be updated. This helps in reducing database write rate.
+ the serialized dags in the DB should be updated. This helps in reducing database write rate.
* ``min_serialized_dag_fetch_interval``: This option controls how often the Serialized DAG will be re-fetched
from the DB when it is already loaded in the DagBag in the Webserver. Setting this higher will reduce
load on the DB, but at the expense of displaying a possibly stale cached version of the DAG.
* ``max_num_rendered_ti_fields_per_task``: This option controls the maximum number of Rendered Task Instance
Fields (Template Fields) per task to store in the Database.
* ``compress_serialized_dags``: This option controls whether to compress the Serialized DAG to the Database.
- It is useful when there are very large DAGs in your cluster. When ``True``, this will disable the DAG dependencies view.
+ It is useful when there are very large dags in your cluster. When ``True``, this will disable the DAG dependencies view.
Review Comment:
this was intentional, one thing at a time
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2005602724
##########
docs/apache-airflow/administration-and-deployment/dagfile-processing.rst:
##########
@@ -19,7 +19,7 @@
DAG File Processing
-------------------
-DAG File Processing refers to the process of turning Python files contained in the DAGs folder into DAG objects that contain tasks to be scheduled.
+DAG File Processing refers to the process of reading the python files that define your dags and storing them such that the scheduler can schedule them.
Review Comment:
this is also why i did not tackle it as part of this PR -- it requires a little more thought and examination than this one. and this one is big enough as it is.
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish merged PR #47959:
URL: https://github.com/apache/airflow/pull/47959
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "RNHTTR (via GitHub)" <gi...@apache.org>.
RNHTTR commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004332005
##########
docs/apache-airflow/administration-and-deployment/dagfile-processing.rst:
##########
@@ -19,7 +19,7 @@
DAG File Processing
-------------------
-DAG File Processing refers to the process of turning Python files contained in the DAGs folder into DAG objects that contain tasks to be scheduled.
+DAG File Processing refers to the process of reading the python files that define your dags and storing them such that the scheduler can schedule them.
Review Comment:
I believe you can find and replace only in specific files (e.g. only in `.rst`)
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2005598262
##########
docs/spelling_wordlist.txt:
##########
@@ -381,6 +381,7 @@ dagruns
DagRunState
dagRunState
DAGs
Review Comment:
so the thing is, I don't think we will ever completely avoid use of DAG because, there may be times in the docs where we refer specifically to the python class, or the original concept, directed acyclic graph -- and that's perfectly fine. so i do not think it is necessary to ban it entirely.
it's like, we use the word "task" but there isn't even a model for it, and sometimes we may still want to refer to BaseOperator or MappedOperator or AbstractOperator, and we don't ban the reference to those.
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004432289
##########
docs/apache-airflow/administration-and-deployment/dagfile-processing.rst:
##########
@@ -19,7 +19,7 @@
DAG File Processing
-------------------
-DAG File Processing refers to the process of turning Python files contained in the DAGs folder into DAG objects that contain tasks to be scheduled.
+DAG File Processing refers to the process of reading the python files that define your dags and storing them such that the scheduler can schedule them.
Review Comment:
I am not trying to change DAG to dag in this specific PR. I know I could filter just to rst. It might, in docs, refer to the DAG class or model -- but not really an issue with DAGs. Anyway, DAGs is more offensive than DAG. But yes, if time, may tackle DAG rename _later_
--
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
Re: [PR] Replace DAGs with dags in docs [airflow]
Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on code in PR #47959:
URL: https://github.com/apache/airflow/pull/47959#discussion_r2004436350
##########
docs/spelling_wordlist.txt:
##########
@@ -381,6 +381,7 @@ dagruns
DagRunState
dagRunState
DAGs
Review Comment:
this is left alone because I am not changing things like existing release notes.
--
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