Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Apr 19, 2024
1 parent 546b66c commit ff6dbec
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions dags/stellar_etl_airflow/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ def get_from_combinedExport(**context):


def get_from_without_captiveCore(**context):
execution_date = context["execution_date"]
yesterday = pendulum.instance(execution_date).subtract(days=1)
yesterday = datetime.combine(yesterday, time(), tzinfo=pytz.timezone("UTC"))
# execution_date = context["execution_date"]
# yesterday = pendulum.instance(execution_date).subtract(days=1)
# yesterday = datetime.combine(yesterday, time(), tzinfo=pytz.timezone("UTC"))
yesterday = pendulum.datetime(2024, 4, 16, tz="UTC")

# Get the session from the settings
session = settings.Session()
Expand Down Expand Up @@ -226,9 +227,9 @@ def get_from_without_captiveCore(**context):
dag=dag,
)

# compare2_task = PythonOperator(
# task_id="get_from_combinedExport",
# python_callable=get_from_combinedExport,
# provide_context=True,
# dag=dag,
# )
compare2_task = PythonOperator(
task_id="get_from_combinedExport",
python_callable=get_from_combinedExport,
provide_context=True,
dag=dag,
)

0 comments on commit ff6dbec

Please sign in to comment.