airbytehq / airbytehq/PyAirbyte

🐛 BUG: `source-trello` `cards` stream failing

Đang mở
#206 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

When trying to replicate data from the `cards` stream of the `source-trello` connector, an exception is thrown:

```
Marking stream cards as STARTED
Syncing stream: cards
Encountered an exception while reading stream cards
Traceback (most recent call last):
File "/Users/CENSORED/Documents/backup_data/pyairbyte_ingest_piece/.venv-source-trello/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 136, in read
yield from self._read_stream(
File "/Users/CENSORED/Documents/backup_data/pyairbyte_ingest_piece/.venv-source-trello/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 237, in _read_stream
for record_data_or_message in record_iterator:
File "/Users/CENSORED/Documents/backup_data/pyairbyte_ingest_piece/.venv-source-trello/lib/python3.10/site-packages/airbyte_cdk/sources/streams/core.py", line 135, in read
for _slice in slices:
File
"/Users/CENSORED/Documents/backup_data/pyairbyte_ingest_piece/.venv-source-trello/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py",
line 106, in stream_slices
partition = dict(ChainMap(*[s.partition for s in stream_slice_tuple]))
File
"/Users/CENSORED/Documents/backup_data/pyairbyte_ingest_piece/.venv-source-trello/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py",
line 106, in
partition = dict(ChainMap(*[s.partition for s in stream_slice_tuple]))
AttributeError: 'dict' object has no attribute 'partition'
Marking stream cards as STOPPED
```

The connector source and configuration pass `.check()`, and the `boards` stream works as intended with the same configuration.

Used configuration:
```
{
"source": "source-trello",
"config": {
"key": "CENSORED_KEY",
"token": "CENSORED_TOKEN",
"start_date": "2023-03-01T00:00:00Z"
},
"streams": [
"cards"
]
}
```

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.