Skip to content

Source Amplitude: unpin CDK #35987

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 4 commits into from
Mar 12, 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
4 changes: 3 additions & 1 deletion airbyte-integrations/connectors/source-amplitude/integration_tests/integration_test.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import pytest
from airbyte_cdk.models import SyncMode
from airbyte_cdk.sources.declarative.types import StreamSlice
from source_amplitude.source import SourceAmplitude


Expand Down Expand Up @@ -85,7 +86,8 @@ def test_empty_streams(stream_fixture_name, url, expected_records, request, requ
due to free subscription plan for the sandbox
"""
stream = request.getfixturevalue(stream_fixture_name)
records_reader = stream.read_records(sync_mode=SyncMode.full_refresh, cursor_field=None, stream_slice={})
empty_stream_slice = StreamSlice(partition={}, cursor_slice={})
records_reader = stream.read_records(sync_mode=SyncMode.full_refresh, cursor_field=None, stream_slice=empty_stream_slice)
requests_mock.get(url, status_code=200, json={"data": expected_records})

# Sort actual and expected records by ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: fa9f58c6-2d03-4237-aaa4-07d75e0c1396
dockerImageTag: 0.3.7
dockerImageTag: 0.3.8
dockerRepository: airbyte/source-amplitude
documentationUrl: https://docs.airbyte.com/integrations/sources/amplitude
githubIssueLabel: source-amplitude
Expand Down
Loading
Loading