airflow/models/dag.py
def sync_to_db(self, session=None):
        """
        Save attributes about this DAG to the DB. Note that this method
        can be called for both DAGs and SubDAGs. A SubDag is actually a
        SubDagOperator.

        :return: None
        """
        self.bulk_write_to_db([self], session)

        Save attributes about this DAG to the DB. Note that this method
        can be called for both DAGs and SubDAGs. A SubDag is actually a
        SubDagOperator.

        :return: None
        
Save attributes about this DAG to the DB. Note that this method
can be called for both DAGs and SubDAGs.
Save attributes about this DAG to the DB . Note that this method can be called for both DAGs and SubDAGs .
def sync_to_db(self, session=None):
        self.bulk_write_to_db([self], session)
def sync_to_db ( self , session = None ) : self . bulk_write_to_db ( [ self ] , session )
Save attributes about this DAG to the DB.
Save attributes about this DAG to the DB .
"""
        Save attributes about this DAG to the DB. Note that this method
        can be called for both DAGs and SubDAGs. A SubDag is actually a
        SubDagOperator.

        :return: None
        """
None
self
session