We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc7d19 commit 9374e9dCopy full SHA for 9374e9d
2 files changed
python-package/basedosdados/upload/table.py
@@ -150,10 +150,10 @@ def _load_schema_from_bq(
150
"""Load schema from table config
151
152
Args:
153
- mode: Which dataset to create [`prod`|`staging`].
+ project_gcp: Which dataset to create [`prod`|`staging`].
154
155
"""
156
- table_columns = self._get_columns_from_bq()
+ table_columns = self._get_columns_from_bq(project_gcp=project_gcp)
157
columns = table_columns.get("partition_columns") + table_columns.get(
158
"columns"
159
)
python-package/tests/test_table.py
@@ -211,7 +211,6 @@ def test_get_columns_from_data():
211
out2 = table._get_columns_from_data(
212
data_sample_path="tests/sample_data/table",
213
source_format="csv",
214
- mode="staging",
215
216
217
assert isinstance(out, dict)
0 commit comments