Skip to content

Commit

Permalink
chore: move config templates to templates folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna committed Jun 13, 2024
1 parent e4d5452 commit 816f27e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# What is the bucket that you are saving all the data? It should be
# an unique name.
# What is the bucket that you are saving all the data?
# It should be an unique name.
bucket_name = ""

[gcloud-projects]
Expand All @@ -13,4 +13,4 @@ bucket_name = ""
credentials_path = ""

[api]
url = ""
url = ""
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Grupos
- {{ partition }}
{% endfor -%}
{%- endif %}
{% endcall -%}
{% endcall -%}
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ Tratamento
Frequencia de Atualização
-------------------------
{{ update_frequency }}{% endcall %}
{% endif %}
{% endif %}
2 changes: 1 addition & 1 deletion python-package/basedosdados/upload/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _init_config(self, force):
if (not config_file.exists()) or (force):
# Load config file
c_file = tomlkit.parse(
(Path(__file__).resolve().parents[1] / "configs" / "config.toml")
(Path(__file__).resolve().parents[1] / "templates" / "config.toml")
.open("r", encoding="utf-8")
.read()
)
Expand Down

0 comments on commit 816f27e

Please sign in to comment.