Skip to content

Commit

Permalink
Merge branch 'master' into midavadim/3864-source-gitlab-fix-merge_req…
Browse files Browse the repository at this point in the history
…uest_commits-stream
  • Loading branch information
midavadim authored Feb 15, 2024
2 parents 03848a4 + 8e7618f commit ecf1667
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airbyte-cdk/python/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.63.0
current_version = 0.63.1
commit = False

[bumpversion:file:setup.py]
Expand Down
3 changes: 3 additions & 0 deletions airbyte-cdk/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.63.1
File-based CDK: fix record enqueuing

## 0.63.0
Per-stream error reporting and continue syncing on error by default

Expand Down
4 changes: 2 additions & 2 deletions airbyte-cdk/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk --no-cache upgrade \
&& apk --no-cache add tzdata build-base

# install airbyte-cdk
RUN pip install --prefix=/install airbyte-cdk==0.63.0
RUN pip install --prefix=/install airbyte-cdk==0.63.1

# build a clean environment
FROM base
Expand All @@ -32,5 +32,5 @@ ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

# needs to be the same as CDK
LABEL io.airbyte.version=0.63.0
LABEL io.airbyte.version=0.63.1
LABEL io.airbyte.name=airbyte/source-declarative-manifest
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ def read(self) -> Iterable[Record]:
data_to_return = dict(record_data)
self._stream.transformer.transform(data_to_return, self._stream.get_json_schema())
yield Record(data_to_return, self.stream_name())
elif isinstance(record_data, AirbyteMessage) and record_data.type == Type.RECORD:
# `AirbyteMessage`s of type `Record` should also be yielded so they are enqueued
yield Record(record_data.record.data, self.stream_name())
else:
self._message_repository.emit_message(record_data)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-cdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
name="airbyte-cdk",
# The version of the airbyte-cdk package is used at runtime to validate manifests. That validation must be
# updated if our semver format changes such as using release candidate versions.
version="0.63.0",
version="0.63.1",
description="A framework for writing Airbyte Connectors.",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit ecf1667

Please sign in to comment.