airbytehq / airbytehq/PyAirbyte

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

Ouverte
#206 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
344
Forks
77
Merge moyen
1 j 11 h
PR mergées (30 j)
35

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.