import basedosdados as bd
df = bd.read_sql(
"select * from `basedosdados-dev.br_inep_saeb_staging.dicionario`",
billing_project_id="basedosdados-dev",
)
print(df)
python test.py
Traceback (most recent call last):
File "/tmp/bd-beta-21/test.py", line 3, in <module>
df = bd.read_sql(
File "/tmp/bd-beta-21/.venv/lib/python3.9/site-packages/basedosdados/download/download.py", line 57, in read_sql
billing_project_id, from_file = _set_config_variables(
NameError: name '_set_config_variables' is not defined
Introduzido em https://github.com/basedosdados/mais/pull/1712. A função foi removida
Reproduzindo:
test.py
:python test.py