Skip to content

Commit

Permalink
Changed last records to last record
Browse files Browse the repository at this point in the history
  • Loading branch information
lazebnyi committed Apr 25, 2024
1 parent 135e623 commit a9b0361
Show file tree
Hide file tree
Showing 7 changed files with 1,351 additions and 88 deletions.
39 changes: 0 additions & 39 deletions airbyte-integrations/connectors/source-trello/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions airbyte-integrations/connectors/source-trello/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ data:
allowedHosts:
hosts:
- api.trello.com
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.2.0@sha256:c22a9d97464b69d6ef01898edf3f8612dc11614f05a84984451dde195f337db9
remoteRegistries:
pypi:
enabled: true
Expand Down
1,318 changes: 1,318 additions & 0 deletions airbyte-integrations/connectors/source-trello/poetry.lock

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions airbyte-integrations/connectors/source-trello/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 = "1.0.2"
name = "source-trello"
description = "Source implementation for Trello."
authors = [ "Airbyte <[email protected]>",]
license = "MIT"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/trello"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
[[tool.poetry.packages]]
include = "source_trello"

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

[tool.poetry.scripts]
source-trello = "source_trello.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-trello/setup.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ definitions:
pagination_strategy:
type: CursorPagination
page_size: 500
cursor_value: "{{ (last_records|last)['id'] }}"
stop_condition: "{{ not last_records }}"
cursor_value: "{{ last_record['id'] }}"
stop_condition: "{{ not last_record }}"
board_id_partition_router:
- type: CustomPartitionRouter
class_name: source_trello.components.OrderIdsPartitionRouter
Expand Down

0 comments on commit a9b0361

Please sign in to comment.