Skip to content

Instantly share code, notes, and snippets.

@adkdev
Created September 21, 2021 10:48
Show Gist options
  • Save adkdev/e4f45d0bc35b809173e5068cc64822fe to your computer and use it in GitHub Desktop.
Save adkdev/e4f45d0bc35b809173e5068cc64822fe to your computer and use it in GitHub Desktop.
Test kwargs for Airflow function call
import pendulum
kwargs = {
"execution_date": pendulum.today() - timedelta(days=1),
"next_execution_date": pendulum.today(),
}
test_fn(**kwargs)
exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment