def get_task_instances(self, session, start_date=None, end_date=None):
        TI = TaskInstance
        end_date = end_date or datetime.now()
        return session.query(TI).filter(
            TI.dag_id == self.dag_id,
            TI.task_id == self.task_id,
            TI.execution_date >= start_date,
            TI.execution_date <= end_date,
        ).order_by(TI.execution_date).all()
Provision master with salt-master.
dataset/ETHPy150Open airbnb/airflow/airflow/models.py/BaseOperator.get_task_instances--crossover with--dataset/ETHPy150Open codefordurham/Durham-Restaurants/fabfile.py/setup_master