airflow/models/dag.py
def sub_dag(self, *args, **kwargs):
        """This method is deprecated in favor of partial_subset"""
        warnings.warn(
            "This method is deprecated and will be removed in a future version. Please use partial_subset",
            DeprecationWarning,
            stacklevel=2,
        )
        return self.partial_subset(*args, **kwargs)
This method is deprecated in favor of partial_subset
This method is deprecated in favor of partial_subset
This method is deprecated in favor of partial_subset
def sub_dag(self, *args, **kwargs):
        warnings.warn(
            "This method is deprecated and will be removed in a future version. Please use partial_subset",
            DeprecationWarning,
            stacklevel=2,
        )
        return self.partial_subset(*args, **kwargs)
def sub_dag ( self , * args , ** kwargs ) : warnings . warn ( "This method is deprecated and will be removed in a future version. Please use partial_subset" , DeprecationWarning , stacklevel = 2 , ) return self . partial_subset ( * args , ** kwargs )
This method is deprecated in favor of partial_subset
This method is deprecated in favor of partial_subset
"""This method is deprecated in favor of partial_subset"""
self