This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
from airflow.models import DagBag | |
def callback_subdag_clear(context): | |
"""Clears a subdag's tasks on retry.""" | |
dag_id = "{}.{}".format( | |
context['dag'].dag_id, | |
context['ti'].task_id, | |
) | |
execution_date = context['execution_date'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using GalaSoft.MvvmLight; | |
using GalaSoft.MvvmLight.Threading; | |
namespace MvvmLight.Helpers | |
{ | |
public class DesignAwareDispatcherHelper | |
{ | |
// ReSharper disable once InconsistentNaming | |
public static void CheckDesignModeInvokeOnUI(Action action) |