-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9/n][dagster-fivetran] Implement base sync methods in FivetranClient (…
…#25911) ## Summary & Motivation This PR reworks legacy sync methods and implements them in the `FivetranClient`: - `update_schedule_type_for_connector` is added based on legacy `update_schedule_type` and `update_connector` - `_start_sync` is based on the legacy `start_sync` and `start_resync` - it avoids code duplication - `start_resync` will be added in a subsequent PR - the order of some steps has been reversed - we verify that a connector is syncable before updating the state of its schedule - `start_sync` is added based on legacy `start_sync` Tests mock the request API calls and make sure that all calls are made. ## How I Tested These Changes Additional unit tests with BK
- Loading branch information
1 parent
395a8f3
commit 686979c
Showing
4 changed files
with
130 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters