Skip to content

Commit a334598

Browse files
grubberrrobbinhan
authored andcommitted
CDK: Fix regression in _checkpoint_state arg (airbytehq#16141)
Signed-off-by: Sergey Chvalyuk <[email protected]>
1 parent d048946 commit a334598

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

airbyte-cdk/python/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.1.81
4+
- Fix regression in `_checkpoint_state` arg
5+
36
## Unreleased
47
- Update Airbyte Protocol model to support protocol_version
58

airbyte-cdk/python/airbyte_cdk/sources/abstract_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _read_incremental(
228228
total_records_counter = 0
229229
if not slices:
230230
# Safety net to ensure we always emit at least one state message even if there are no slices
231-
checkpoint = self._checkpoint_state(stream_instance, stream_instance.state, connector_state)
231+
checkpoint = self._checkpoint_state(stream_instance, stream_state, connector_state)
232232
yield checkpoint
233233
for _slice in slices:
234234
logger.debug("Processing stream slice", extra={"slice": _slice})

airbyte-cdk/python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name="airbyte-cdk",
18-
version="0.1.80",
18+
version="0.1.81",
1919
description="A framework for writing Airbyte Connectors.",
2020
long_description=README,
2121
long_description_content_type="text/markdown",
@@ -49,7 +49,7 @@
4949
"jsonschema~=3.2.0",
5050
"jsonref~=0.2",
5151
"pendulum",
52-
"pydantic~=1.6",
52+
"pydantic~=1.9.2",
5353
"PyYAML~=5.4",
5454
"requests",
5555
"vcrpy",

0 commit comments

Comments
 (0)