-
Notifications
You must be signed in to change notification settings - Fork 19
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
[TDL-25607] : API version upgrade #67
Merged
Merged
Conversation
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
1. Added new APIs for metrics & events streams and removed metric stream which is deprecated. 2. Added API_VERSION which is going to part of headers in Klaviyo API calls. 3. Made code changes to include changes in response of new APIs. 4. Added API_KEY in headers which will be used for authorizing Klaviyo APIs in new implementation.
1. Fixed logic for transfrom_and_write_records method to include FULL table streams. 2. Added query params for FULL table streams to be included in API calls. 3. Removed get_all_pages method as all the streams use cursor based pagination now. 4. Fixed pagination logic in get_all_using_next method.
…ype for all relationship attributes from object to array.
…lds of API response.
…tap-klaviyo into TDL-25607-API-version-upgrade
rdeshmukh15
reviewed
May 20, 2024
rdeshmukh15
reviewed
May 20, 2024
rdeshmukh15
reviewed
May 20, 2024
rdeshmukh15
reviewed
May 20, 2024
Klaviyo metrics API link should be updated to the latest in README.md |
Have you compared the synced data for old and new both the versions with same start_date for all the streams? |
Yes, and the results were same for old and new implementations. |
rdeshmukh15
approved these changes
May 21, 2024
* Changes: 1. Added and removed relevant streams to fix discovery test. 2. Removed unsubscribe stream as the test account does not have sufficient data to test it. * Fixed All fields & Automatic fields tests. * Fixed comments for all fields & automatic fields tests. * Changes: 1. Fixed bookmark test and added appropriate streams with insufficient data in untestable_streams. 2. Fixed start date test and changed assertions for specific streams as per data avilable. 3. Fixed pagination test by keeping different page sizes for different streams. * Modified Klaviyo API docs link in README. * Update config.yml - use stitch-tap-tester image (#69) * Update config.yml * assert changed * Updates for python 3.11 (#66) * Updates for python 3.11 * Update CHANGELOG.md [skip ci] * update circle config * pylint happy * install pylint ----------------------------- * typo ----------------------------- * removed bump version changes * changes config.yml * changes in config.yml to pass unit tests * fixes unit tests * changes in config.yml in setup step * linting command change in config.yml * added step to install pylint in config.yml --------- Co-authored-by: “rdeshmukh15” <[email protected]> * updated docker image in config.yml --------- Co-authored-by: Patrick Lynskey <[email protected]> Co-authored-by: “rdeshmukh15” <[email protected]> Co-authored-by: Leslie VanDeMark <[email protected]>
somethingmorerelevant
approved these changes
May 23, 2024
This was referenced May 24, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
Klaviyo is moving it's legacy APIs v1/v2 to new APIs as per this document.
The following changes are made to include these API changes:
Manual QA steps
Risks
Rollback steps