[project] br_sou_da_paz_armas_municoes#1481
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Replace the `folder` parameter in `tb.create()` with `bucket_name` and `mode` parameters on the `bd.Table` constructor, aligning with the `basedosdados` v2.1.0b1 API. Update the README to document the new usage pattern.
| dataset_id="br_sou_da_paz_dataset-name", | ||
| table_id="table-name", | ||
| bucket_name="basedosdados-consultoria", # Nome do bucket | ||
| mode="sou_da_paz", # Nome da pasta no bucket, deve ser o nome da organização |
There was a problem hiding this comment.
O nome do parâmetro mode parece não fazer sentido, mas mantive ele para reduzir as alterações no pacote em basedosdados/sdk#1784. No pacote da BD mode representa duas coisas ao mesmo tempo e isso fica confuso.
Descrição do PR: