Skip to content

Implement Async GCS object update sensor #93

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

Merged
merged 29 commits into from
Mar 10, 2022
Merged

Conversation

bharanidharan14
Copy link
Contributor

@bharanidharan14 bharanidharan14 commented Mar 3, 2022

Story Id: #69

  • Implemented Async Operator and Trigger for GCSObjectUpdateSensorAsync

rajaths010494 and others added 10 commits March 2, 2022 19:04
- Implement the GCSPrefixBlobTrigger(
- Implement the sensor GCSObjectWithPrefixExistenceSensor
- add example dag for GCSObjectsWithPrefixExistenceSensorAsync
- modify trigger super.__init__
-  Add GCSObjectUpdateSensorAsync  Operator, Trigger
- Fix Snowflake Trigger, Operator, Hooks code coverage above 92
- Fix Redshift Cluster Trigger, Operator code coverage above 96
Copy link
Collaborator

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

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

Added few comments and few changes.

One question - Is there a specific reason to keep certain methods as private methods in triggers rather than keeping in hooks?

@rajaths010494 rajaths010494 self-requested a review March 7, 2022 12:32
@bharanidharan14 bharanidharan14 marked this pull request as ready for review March 9, 2022 12:14
- Add back the else condition and return value in hook along with test case covered
- Add proper doc string
- Remove unwanted print
- Remove wired formatting for query and added test query with proper query
@bharanidharan14 bharanidharan14 requested a review from kaxil March 9, 2022 16:43
@bharanidharan14 bharanidharan14 changed the title GCS object update sensor, Code Coverage #87, mypy fix implemented GCS object update sensor, FIx Code Coverage #87, Fix mypy issues Mar 9, 2022
@bharanidharan14 bharanidharan14 changed the title implemented GCS object update sensor, FIx Code Coverage #87, Fix mypy issues Implemented GCS object update sensor, FIx Code Coverage #87, Fix mypy issues Mar 9, 2022
@bharanidharan14 bharanidharan14 changed the title Implemented GCS object update sensor, FIx Code Coverage #87, Fix mypy issues Implemented GCS object update sensor, Fix Code Coverage #87, Fix mypy issues Mar 9, 2022
@bharanidharan14 bharanidharan14 changed the title Implemented GCS object update sensor, Fix Code Coverage #87, Fix mypy issues Implement GCS object update sensor, Fix Code Coverage #87, Fix mypy issues Mar 9, 2022
Copy link
Collaborator

@kaxil kaxil left a comment

Choose a reason for hiding this comment

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

Please separate these into at least 2 or 3 PRs.

  1. Implements Async GCS Object Update Sensor
  2. Fixes Code Coverage
  3. Fixes MyPy issues

@bharanidharan14 bharanidharan14 changed the title Implement GCS object update sensor, Fix Code Coverage #87, Fix mypy issues Implement GCS object update sensor Mar 10, 2022
@bharanidharan14 bharanidharan14 requested a review from kaxil March 10, 2022 07:12
@bharanidharan14 bharanidharan14 changed the title Implement GCS object update sensor Implement Async GCS object update sensor Mar 10, 2022
@bharanidharan14
Copy link
Contributor Author

Please separate these into at least 2 or 3 PRs.

  1. Implements Async GCS Object Update Sensor
  2. Fixes Code Coverage
  3. Fixes MyPy issues

Added Two PR

  1. Implements Async GCS Object Update Sensor--> eb31453
  2. Fix Code coverage--> Fix Code coverage #107

@bharanidharan14
Copy link
Contributor Author

Added few comments and few changes.

One question - Is there a specific reason to keep certain methods as private methods in triggers rather than keeping in hooks?

I was following the existing implementation

Copy link
Collaborator

@phanikumv phanikumv left a comment

Choose a reason for hiding this comment

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

Looks good to me

@phanikumv
Copy link
Collaborator

@kaxil @sunank200 are we good to merge this?

Copy link
Collaborator

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

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

LGTM

@kaxil kaxil merged commit c471fc1 into main Mar 10, 2022
@kaxil kaxil deleted the GCS_ObjectUpdateSensor branch March 10, 2022 20:33
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.

6 participants