mik-laj commented on a change in pull request #5361: [AIRFLOW-4670] Make airflow/example_dags Pylint compatible URL: https://github.com/apache/airflow/pull/5361#discussion_r290227977
########## File path: airflow/example_dags/subdags/subdag.py ########## @@ -17,11 +17,21 @@ # specific language governing permissions and limitations # under the License. +"""Helper function to generate a DAG and operators given some arguments.""" + from airflow.models import DAG from airflow.operators.dummy_operator import DummyOperator def subdag(parent_dag_name, child_dag_name, args): + """ + Generate a DAG to be used as a subdag. Review comment: Empty line is required after method's description. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
