Skip to content

Commit 27f7f6f

Browse files
committed
replace staging with mode
1 parent fa4fcda commit 27f7f6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • python-package/basedosdados/upload

python-package/basedosdados/upload/table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _parser_blobs_to_partition_dict(self) -> Optional[dict[Any, Any]]:
276276
self.client["storage_staging"]
277277
.bucket(self.bucket_name, user_project=self.billing_project_id)
278278
.list_blobs(
279-
prefix=f"staging/{self.dataset_id}/{self.table_id}/",
279+
prefix=f"{self.mode}/{self.dataset_id}/{self.table_id}/",
280280
)
281281
)
282282
partitions_dict = {}
@@ -526,7 +526,7 @@ def create(
526526
BigQuery.
527527
528528
Data can be found in Storage at
529-
`<bucket_name>/staging/<dataset_id>/<table_id>/*` and is used to build
529+
`<bucket_name>/<mode>/<dataset_id>/<table_id>/*` and is used to build
530530
the table.
531531
532532
The following data types are supported:

0 commit comments

Comments
 (0)