airbytehq / airbytehq/PyAirbyte

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

Abierto
#206 2 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
344
Forks
77
Merge medio
1 d 11 h
PR fusionados (30 d)
35

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.