Skip to content
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

sync_modes not populated after call to streams.get_stream_properties #110

Open
romain-fitcollective opened this issue Nov 7, 2024 · 0 comments

Comments

@romain-fitcollective
Copy link

When calling directly the API

curl --request GET \
     --url 'https://api.airbyte.com/v1/streams?sourceId=03604837-98e**********8b8c7e4a&destinationId=d89fd9a*********6d6-85c8-ddc30e7a85ec' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cC **************FnxpQVDlmiwxee0PpoSQ'

it nicely returns sync_modes info:

[
  {
    "streamName": "abandoned_checkouts",
    "syncModes": [
      "full_refresh_append",
      "full_refresh_overwrite",
      "incremental_append"
    ],
    "defaultCursorField": [
      "updated_at"
    ],
    "sour ..."

However, when using the python SDK

res_sp = s.streams.get_stream_properties(request=api.GetStreamPropertiesRequest(
            source_id=source_id,
        ))

the sync_modes are always returned as None for all streams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant