-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
🚀 Amazon SP: expand endpoint support #4863
🚀 Amazon SP: expand endpoint support #4863
Conversation
tests? |
...-amazon-seller-partner/source_amazon_seller_partner/schemas/GET_FBA_INVENTORY_AGED_DATA.json
Outdated
Show resolved
Hide resolved
...azon-seller-partner/source_amazon_seller_partner/schemas/GET_MERCHANT_LISTINGS_ALL_DATA.json
Show resolved
Hide resolved
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.
lgtm, just a few comments. Also, please run tests.
/test connector=source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
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.
see my comments
...te-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py
Outdated
Show resolved
Hide resolved
...te-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py
Outdated
Show resolved
Hide resolved
...te-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py
Outdated
Show resolved
Hide resolved
...te-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
/test connector=source-amazon-seller-partner
|
…zon-sp-expand-endpoint-support
/test connector=source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
...te-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py
Show resolved
Hide resolved
...tegrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/constants.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Show resolved
Hide resolved
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.
small comments
Add _create_prepared_request docstring.
/test connector=source-amazon-seller-partner
|
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.
Good work on this. Main points of review:
- Have you tested that the UI works as expected? I recently had to some messing around with what pydantic spits out to render properly in the UI.
- Should update the connector's doc page .md to reflect new functionality.
- Also need to version bump this as outlined here . Since this looks like it would likely break backwards compatibility this should be a minor version bump (e.g. x.x.x -> x.y.0). Also need to add this to doc changelog.
airbyte-integrations/connectors/source-amazon-seller-partner/requirements.txt
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Outdated
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/spec.json
Outdated
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Outdated
Show resolved
Hide resolved
...-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Show resolved
Hide resolved
return {self.cursor_field: max(latest_benchmark, current_stream_state[self.cursor_field])} | ||
return {self.cursor_field: latest_benchmark} | ||
|
||
def _create_prepared_request( |
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.
can we create an issue to add to the CDK and an issue to update this once that issue is resolved? ideally we should never override an _
method
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.
Sure, here it is #5246
clicked approve by accident, just meant to leave a few comments. We can merge once @Phlair 's comments are addressed |
…zon-sp-expand-endpoint-support # Conflicts: # airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/e55879a8-0ef8-4557-abcf-ab34c53ec460.json # airbyte-config/init/src/main/resources/seed/source_definitions.yaml
/publish connector=connectors/source-amazon-seller-partner
|
/test connector=source-amazon-seller-partner
|
What
Closes #4594
How
Add support for
GET_MERCHANT_LISTINGS_ALL_DATA
andGET_FBA_INVENTORY_AGED_DATA
stream endpointsUpdate connector to support
airbyte-cdk
.Recommended reading order
source.py
streams.py
Pre-merge Checklist
Expand the checklist which is relevant for this PR.
Connector checklist
airbyte_secret
in the connector's spec./gradlew :airbyte-integrations:connectors:<name>:integrationTest
./test connector=connectors/<name>
command as documented here is passing.README.md
docs/SUMMARY.md
if it's a new connectordocs/integrations/<source or destination>/<name>
.docs/integrations/...
. See changelog exampledocs/integrations/README.md
contains a reference to the new connector/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