-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
🎉 Instagram Source: Migrate to use CDK, upgrade API version and fix failures with HTTP status 400 #4210
Conversation
/test connector=connectors/source-instagram
|
airbyte-integrations/connectors/source-instagram/source_instagram/client/api.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/source_instagram/client/api.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/source_instagram/client/common.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/source_instagram/client/api.py
Outdated
Show resolved
Hide resolved
…m-api-sync-failed-repeatedly
…m-api-sync-failed-repeatedly
/test connector=source-instagram
|
/test connector=source-instagram
|
airbyte-integrations/connectors/source-instagram/integration_tests/spec.json
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/integration_tests/test_streams.py
Show resolved
Hide resolved
class TestInstagramSource: | ||
"""Custom integration tests should test incremental with nested state""" | ||
|
||
def test_incremental_streams(self, configured_catalog, config, state): |
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.
nice
"pendulum>=2,<3", | ||
"backoff", |
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.
These libraries are installed together with airbyte-cdk
. Do we need to explicitly specify them?
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.
it is better to specify dependencies like this explicitly because CDK might drop this dependency
LGTM |
/publish connector=connectors/source-instagram
|
What
closes #4028 .
This PR:
Recommended reading order
streams.py
api.py
source.py
Pre-merge Checklist
Expand the checklist which is relevant for this PR.
Connector checklist
airbyte_secret
in output spec./gradlew :airbyte-integrations:connectors:<name>:integrationTest
./test connector=connectors/<name>
command as documented here is passing.docs/integrations/
directory./publish
command described hereConnector Generator checklist
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes