airbytehq / airbytehq/PyAirbyte

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

未关闭
#206 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
344
派生
77
平均合并
1 天 11 小时
30 天内合并 PR
35

描述

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"
]
}
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。