airbytehq / airbytehq/airbyte-api-python-sdk

sync_modes not populated after call to streams.get_stream_properties

Đang mở
#110 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
61
Fork
27
Merge trung bình
4 phút
Pull request đã merge (30 ngày)
2

Mô tả

When calling directly the API
```bash
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:
```json
[
{
"streamName": "abandoned_checkouts",
"syncModes": [
"full_refresh_append",
"full_refresh_overwrite",
"incremental_append"
],
"defaultCursorField": [
"updated_at"
],
"sour ..."
```
However, when using the python SDK
```python
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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.