Skip to content

Conversation

@bhavaniravi
Copy link
Contributor

Part of #20139

Move step_function_* operators and sensors to step_function.py

Copy link
Contributor

@eladkal eladkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are also missing edits to the test files of the operators / sensors.

Sensor:
https://github.com/apache/airflow/blob/main/tests/providers/amazon/aws/sensors/test_step_function_execution.py
should also be renamed and fix imports.

Operators:
https://github.com/apache/airflow/blob/main/tests/providers/amazon/aws/operators/test_step_function_get_execution_output.py

https://github.com/apache/airflow/blob/main/tests/providers/amazon/aws/operators/test_step_function_start_execution.py

also since the classes are small we can have both of them in a single test_step_function.py and we can remove the two individual test files.

@kaxil kaxil removed their request for review December 10, 2021 13:53
@eladkal
Copy link
Contributor

eladkal commented Dec 12, 2021

@bhavaniravi could you please address also the comments on test files?

@bhavaniravi
Copy link
Contributor Author

@bhavaniravi could you please address also the comments on test files?

Yes on it.

Copy link
Contributor

@eladkal eladkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Dec 13, 2021
@eladkal eladkal removed the full tests needed We need to run full set of tests for this PR to merge label Dec 13, 2021
@eladkal eladkal merged commit 1d2f2d3 into apache:main Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants