Skip to content

source-intercom: ensure inline schemas, updated cdk, poetry (where possible) #36644

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 22 commits into from
May 10, 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
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d8313939-3782-41b0-be29-b3ca20d8dd3a
dockerImageTag: 0.6.3
dockerImageTag: 0.6.5
dockerRepository: airbyte/source-intercom
documentationUrl: https://docs.airbyte.com/integrations/sources/intercom
githubIssueLabel: source-intercom
Expand Down
471 changes: 375 additions & 96 deletions airbyte-integrations/connectors/source-intercom/poetry.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.6.3"
version = "0.6.5"
name = "source-intercom"
description = "Source implementation for Intercom Yaml."
authors = [ "Airbyte <[email protected]>",]
Expand All @@ -17,7 +17,7 @@ include = "source_intercom"

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

[tool.poetry.scripts]
source-intercom = "source_intercom.run:run"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def observe(self, stream_slice: StreamSlice, record: Record) -> None:
if self.is_greater_than_or_equal(record, self._state):
self._cursor = record_cursor_value

def close_slice(self, stream_slice: StreamSlice) -> None:
def close_slice(self, stream_slice: StreamSlice, *args: Any) -> None:
cursor_field = self.cursor_field.eval(self.config)
self._state[cursor_field] = self._cursor

Expand Down Expand Up @@ -178,8 +178,8 @@ def observe(self, stream_slice: StreamSlice, record: Record) -> None:
# observe the substream
super().observe(stream_slice, record)

def close_slice(self, stream_slice: StreamSlice) -> None:
super().close_slice(stream_slice=stream_slice)
def close_slice(self, stream_slice: StreamSlice, *args: Any) -> None:
super().close_slice(stream_slice, *args)

def stream_slices(self) -> Iterable[Mapping[str, Any]]:
parent_state = (self._state or {}).get(self.parent_stream_name, {})
Expand Down
Loading
Loading