Skip to content

Commit 6e3e9f8

Browse files
committed
remove breakpoint
1 parent faa089c commit 6e3e9f8

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

python-package/basedosdados/download/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def _delete_bucket(
435435
MAX_BLOBS = 256
436436

437437
storage_client = client["storage"]
438-
bucket = storage_client.get_bucket(bucket_name, user_project=user_project)
438+
bucket = storage_client.get_bucket(bucket_name)
439439

440440
# NOTE: force=True implementation will not delete
441441
# the temporary bucket if n_blobs >= 256

python-package/basedosdados/upload/dataset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def publicize(
104104
"""
105105

106106
for m in self._loop_modes(project_gcp):
107-
breakpoint()
107+
108108
dataset = m["client"].get_dataset(m["id"])
109-
breakpoint()
109+
110110
entries = dataset.access_entries
111111
# TODO https://github.com/basedosdados/sdk/pull/1020
112112
# TODO if staging dataset is private, the prod view can't acess it: if dataset_is_public and "staging" not in dataset.dataset_id:
@@ -211,7 +211,7 @@ def create(
211211
# Send the dataset to the API for creation, with an explicit timeout.
212212
# Raises google.api_core.exceptions.Conflict if the Dataset already
213213
# exists within the project.
214-
breakpoint()
214+
215215
try:
216216
if not self.exists(project_gcp=m["mode"]):
217217
# Construct a full Dataset object to send to the API.
@@ -235,7 +235,7 @@ def create(
235235
dataset_is_public=dataset_is_public,
236236
project_gcp=m["mode"],
237237
)
238-
breakpoint()
238+
239239
except Conflict as e:
240240
if if_exists == "pass":
241241
continue

python-package/basedosdados/upload/datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def external_config(self):
113113
)
114114
_external_config.source_uris = self.uri
115115

116-
breakpoint()
116+
# breakpoint()
117117
if self.partitioned:
118118
_external_config.hive_partitioning = self.partition()
119119

python-package/basedosdados/upload/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def copy_table(
459459
.bucket(source_bucket_name, user_project=self.billing_project_id)
460460
.list_blobs(prefix=f"{folder}/{self.dataset_id}/{self.table_id}/")
461461
)
462-
breakpoint()
462+
# breakpoint()
463463
if not source_table_ref:
464464
raise FileNotFoundError(
465465
f"Could not find the requested table {self.dataset_id}.{self.table_id}"

python-package/basedosdados/upload/table.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,6 @@ def create(
735735
)
736736
# return None
737737

738-
breakpoint()
739738

740739
def update(
741740
self,

0 commit comments

Comments
 (0)