potiuk commented on code in PR #33675:
URL: https://github.com/apache/airflow/pull/33675#discussion_r1303825529
##########
airflow/example_dags/example_params_trigger_ui.py:
##########
@@ -33,7 +33,7 @@
with DAG(
dag_id=Path(__file__).stem,
- description=__doc__[0 : __doc__.find(".")],
+ description=__doc__.partition(".")[0],
Review Comment:
It does have an appeal, especially if you consider the D400 rule of pydoc
style.
--
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]