Skip to content

Commit

Permalink
Update greenhouse paginator (#17429)
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda committed Sep 30, 2022
1 parent d2a7175 commit 43ca9fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-greenhouse/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
author="Airbyte",
author_email="contact@airbyte.io",
packages=find_packages(),
install_requires=["airbyte-cdk==0.1.89", "dataclasses-jsonschema==2.15.1"],
install_requires=["airbyte-cdk>=0.1.91", "dataclasses-jsonschema==2.15.1"],
package_data={"": ["*.json", "*.yaml", "schemas/*.json"]},
extras_require={
"tests": TEST_REQUIREMENTS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ definitions:
error_handlers:
- type: DefaultErrorHandler
response_filters:
- http_codes: [ 403 ]
- http_codes: [403]
action: IGNORE
- type: DefaultErrorHandler
authenticator:
Expand All @@ -32,13 +32,13 @@ definitions:
record_selector:
$ref: "*ref(definitions.selector)"
paginator:
type: LimitPaginator
page_size: 100
type: DefaultPaginator
pagination_strategy:
type: "CursorPagination"
cursor_value: "{{ headers['link']['next']['url'] }}"
stop_condition: "{{ 'next' not in headers['link'] }}"
limit_option:
page_size: 100
page_size_option:
field_name: "per_page"
inject_into: "request_parameter"
page_token_option:
Expand Down

0 comments on commit 43ca9fb

Please sign in to comment.