Skip to content

Source Gainsight Px: Changed last records to last record #37593

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

Merged
merged 3 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions airbyte-integrations/connectors/source-gainsight-px/Dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ data:
allowedHosts:
hosts:
- api.aptrinsic.com/v1
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.2.0@sha256:c22a9d97464b69d6ef01898edf3f8612dc11614f05a84984451dde195f337db9
remoteRegistries:
pypi:
enabled: true
Expand All @@ -14,7 +16,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 0da3b186-8879-4e94-8738-55b48762f1e8
dockerImageTag: 0.1.0
dockerImageTag: 0.1.1
dockerRepository: airbyte/source-gainsight-px
githubIssueLabel: source-gainsight-px
icon: gainsight-px.svg
Expand Down
1,318 changes: 1,318 additions & 0 deletions airbyte-integrations/connectors/source-gainsight-px/poetry.lock

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions airbyte-integrations/connectors/source-gainsight-px/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.1.1"
name = "source-gainsight-px"
description = "Source implementation for Gainsight Px."
authors = [ "Airbyte <[email protected]>",]
license = "MIT"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/gainsight-px"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
[[tool.poetry.packages]]
include = "source_gainsight_px"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"

[tool.poetry.scripts]
source-gainsight-px = "source_gainsight_px.run:run"

[tool.poetry.group.dev.dependencies]
requests-mock = "^1.9.3"
pytest-mock = "^3.6"
pytest = "^6.1"

This file was deleted.

46 changes: 0 additions & 46 deletions airbyte-integrations/connectors/source-gainsight-px/setup.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ definitions:
type: "DefaultPaginator"
pagination_strategy:
type: "CursorPagination"
cursor_value: "{{ last_records[-1]['scrollId'] }}"
cursor_value: "{{ last_record['scrollId'] }}"
page_size: 5
page_token_option:
type: "RequestPath"
Expand Down
7 changes: 4 additions & 3 deletions docs/integrations/sources/gainsight-px.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Gainsight-PX-API's [API reference](https://gainsightpx.docs.apiary.io/) has v1 a

## Changelog

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :----------------------------------------------------- | :------------- |
| 0.1.0 | 2023-05-10 | [Init](https://github.com/airbytehq/airbyte/pull/26998)| Initial PR |
| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------|
| 0.1.1 | 2024-05-03 | [37593](https://github.com/airbytehq/airbyte/pull/37593) | Changed `last_records` to `last_record` |
| 0.1.0 | 2023-05-10 | [26998](https://github.com/airbytehq/airbyte/pull/26998) | Initial PR |
Loading