-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
update low-code connectors using last_records #36409
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1,185 +1,5 @@ | |||
{ | |||
"streams": [ | |||
{ |
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.
FIX:ME undo this change
@@ -55,7 +55,7 @@ definitions: | |||
type: "DefaultPaginator" | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records['meta', 'pagination', 'next_offset'] }}" | |||
cursor_value: "{{ last_record['meta', 'pagination', 'next_offset'] }}" |
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.
CATs are failing on master too.
I'm also not sure how this can work on master since last_records
should be an array, not an object
@@ -53,7 +53,7 @@ definitions: | |||
type: "DefaultPaginator" | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records['href'] }}" | |||
cursor_value: "{{ last_record['href'] }}" |
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.
@@ -33,7 +33,7 @@ definitions: | |||
type: "DefaultPaginator" | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records['next'] }}" | |||
cursor_value: "{{ last_record['next'] }}" |
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.
@@ -12,7 +12,6 @@ | |||
TEST_REQUIREMENTS = [ | |||
"pytest~=6.2", | |||
"pytest-mock~=3.6.1", | |||
"connector-acceptance-test", |
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.
this library isn't needed by the connector
@@ -28,7 +28,7 @@ definitions: | |||
type: "DefaultPaginator" | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records[-1]['scrollId'] }}" | |||
cursor_value: "{{ last_record['scrollId'] }}" |
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.
@@ -39,7 +39,7 @@ definitions: | |||
type: "DefaultPaginator" | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records['paging', 'next'] }}" | |||
cursor_value: "{{ last_record['paging', 'next'] }}" |
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.
@@ -24,7 +24,7 @@ definitions: | |||
type: DefaultPaginator | |||
pagination_strategy: | |||
type: "CursorPagination" | |||
cursor_value: "{{ last_records[-1]['key'] }}" | |||
cursor_value: "{{ last_record['key'] }}" |
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.
tests don't pass on master
…m:airbytehq/airbyte into alex/replace_last_records_from_paginators
…op_using_last_records
What
Update connectors to use
last_record
instead oflast_records
, which is being deprecated by #36408