Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call S3 sensor check_fn only with file size attribute #1278

Merged
merged 3 commits into from
Aug 5, 2023
Merged

Conversation

pankajastro
Copy link
Contributor

@pankajastro pankajastro commented Aug 3, 2023

closes: #1213

Airflow S3Sensor and astronomer-provider S3SensorAsync call check_fn param with different param. This PR restrict S3SensorAsync to call check_fn with the same param as in the Airflow sensor

@pankajastro pankajastro changed the title Call S3 sensor check_fn only with file size Call S3 sensor check_fn only with file size attribute Aug 3, 2023
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (75e2745) 98.57% compared to head (9cd7781) 98.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1278   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files          90       90           
  Lines        5393     5394    +1     
=======================================
+ Hits         5316     5317    +1     
  Misses         77       77           
Files Changed Coverage Δ
astronomer/providers/amazon/aws/triggers/s3.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pankajastro pankajastro marked this pull request as ready for review August 4, 2023 09:00
@pankajastro pankajastro merged commit a0ef16e into main Aug 5, 2023
11 checks passed
@pankajastro pankajastro deleted the fix_check_fn branch August 5, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

check_fn For S3KeySensorAsync Is Not Compatible With check_fn Of Its Super Class S3KeySensor
2 participants