-
Notifications
You must be signed in to change notification settings - Fork 0
add project_tags for space_tags #17
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the tags stream implementation by splitting it into two distinct streams: project_tags for project-level tags and space_tags for space-level tags. The original Tags stream (which was a child of Spaces) has been removed and replaced with these two independent streams that have different API endpoints and replication strategies.
Key Changes:
- Removed the parent-dependent
Tagsstream and replaced it with two standalone tag streams SpaceTagsuses incremental replication withupdatedAtas the replication keyProjectTagsuses full table replication and queries the projects API endpoint
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tap_teamwork/streams/tags.py | Deleted the original Tags stream class that was dependent on spaces parent |
| tap_teamwork/streams/space_tags.py | Added new SpaceTags stream with incremental replication strategy |
| tap_teamwork/streams/project_tags.py | Added new ProjectTags stream with full table replication strategy |
| tap_teamwork/streams/init.py | Updated imports and STREAMS dictionary to register the new tag streams |
| tap_teamwork/schemas/project_tags.json | Added JSON schema definition for project_tags stream |
| spike/singer_tap_generator_config.json | Updated configuration to reflect the split from tags to project_tags and space_tags |
| README.md | Updated documentation to reference the new ProjectTags and SpaceTags streams |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
…to add_tags_space_project
Description of change
This PR refactors the tags stream implementation by splitting it into two distinct streams: project_tags for project-level tags and space_tags for space-level tags
(SAC-29530)
Manual QA steps
Risks
Rollback steps