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

feat(source-linkedin-ads): move custom streams to manifest only #48863

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

lazebnyi
Copy link
Collaborator

@lazebnyi lazebnyi commented Dec 9, 2024

What

With new version of CDK streams can be created dynamically via config deduction. So we can move from custom implementation to cdk based.

Fixed: https://github.com/airbytehq/airbyte-internal-issues/issues/10790

How

Deleted all custom method from source and add dynamic streams definition to the manifest. Stream name moved to a higher level, as the record selector now also requires the stream name for instance creation, like the retriever.

Review guide

  1. manifest.yaml
  2. source.py

NOTE: COULD BE REVIEW/TESTED WITH CI AFTER THIS - airbytehq/airbyte-python-cdk#149

User Impact

No

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 3:26pm

@lazebnyi lazebnyi marked this pull request as ready for review December 12, 2024 19:12
@lazebnyi lazebnyi requested a review from maxi297 December 12, 2024 19:17
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Dec 12, 2024
…ifest-only' of github.com:airbytehq/airbyte into lazebnyi/source-linkedin-ads-move-custom-streams-to-manifest-only
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. I'm eager to remove the custom code. Just a couple of concerns/questions

@lazebnyi
Copy link
Collaborator Author

lazebnyi commented Dec 19, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (b08e02e)

@lazebnyi lazebnyi requested a review from maxi297 December 19, 2024 15:19
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

LGTM! One last thing would be to run/analyze a relevant regression test output. I'll still preemptively approve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/linkedin-ads
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants