Jakob Homan created AIRFLOW-5483: ------------------------------------ Summary: Fix incorrect docstring in dag.py Key: AIRFLOW-5483 URL: https://issues.apache.org/jira/browse/AIRFLOW-5483 Project: Apache Airflow Issue Type: Bug Components: DAG Affects Versions: 1.10.6 Reporter: Jakob Homan
Note: This ticket's being created to facilitate a new contributor's workshop for Airflow. After the workshop has completed, I'll mark these all available for anyone that might like to take them on. airflow/models/dag.py:1284 {code:java} def create_dagrun(self, run_id, state, execution_date=None, start_date=None, external_trigger=False, conf=None, session=None): """ Creates a dag run from this dag including the tasks associated with this dag. Returns the dag run. :param run_id: defines the the run id for this dag run :type run_id: str :param execution_date: the execution date of this dag run :type execution_date: datetime.datetime :param state: the state of the dag run :type state: airflow.utils.state.State :param start_date: the date this dag run should be evaluated :type start_date: datetime :param external_trigger: whether this dag run is externally triggered :type external_trigger: bool :param session: database session :type session: sqlalchemy.orm.session.Session """ {code} The function has a session parameter, but no doc string for it. -- This message was sent by Atlassian Jira (v8.3.2#803003)