Skip to content

Commit

Permalink
🐛 Source Salesforce: update CDK; fix test supported_sync_modes is req…
Browse files Browse the repository at this point in the history
…uired for AirbyteStream (#18429)
  • Loading branch information
artem1205 authored Oct 25, 2022
1 parent 62eb6b6 commit b050e7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-salesforce/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from setuptools import find_packages, setup

MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1", "vcrpy==4.1.1", "pandas"]
MAIN_REQUIREMENTS = ["airbyte-cdk~=0.2", "vcrpy==4.1.1", "pandas"]

TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6", "requests_mock", "source-acceptance-test", "pytest-timeout"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ def test_forwarding_sobject_options(stream_config, stream_names, catalog_stream_
catalog = ConfiguredAirbyteCatalog(
streams=[
ConfiguredAirbyteStream(
stream=AirbyteStream(name=catalog_stream_name, json_schema={"type": "object"}),
stream=AirbyteStream(name=catalog_stream_name,
supported_sync_modes=[SyncMode.full_refresh],
json_schema={"type": "object"}),
sync_mode=SyncMode.full_refresh,
destination_sync_mode=DestinationSyncMode.overwrite,
)
Expand Down

0 comments on commit b050e7b

Please sign in to comment.