From e0f1057730c867fe883ae400ff59ad38be408a0c Mon Sep 17 00:00:00 2001 From: Johanne Saxegaard Date: Tue, 20 Aug 2024 14:55:05 +0200 Subject: [PATCH 1/3] Bug in typehint --- src/ssb_konjunk/saving.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ssb_konjunk/saving.py b/src/ssb_konjunk/saving.py index b02f227..775d1b5 100644 --- a/src/ssb_konjunk/saving.py +++ b/src/ssb_konjunk/saving.py @@ -29,7 +29,7 @@ def _remove_edge_slashes(input_string: str) -> str: def _structure_ssb_filepath( - dates: tuple[int], + dates: tuple[int, ...], frequency: str, bucket: str, statistic: str, @@ -250,7 +250,7 @@ def _save_df( def write_ssb_file( df: pd.DataFrame, - dates: tuple[int], + dates: tuple[int, ...], frequency: str, bucket: str, statistic: str, @@ -311,7 +311,7 @@ def write_ssb_file( def read_ssb_file( - dates: tuple[int], + dates: tuple[int, ...], frequency: str, bucket: str, statistic: str, From c991ee52dfb563aa662e7bce85b73c7ba20d91b4 Mon Sep 17 00:00:00 2001 From: Johanne Saxegaard Date: Wed, 21 Aug 2024 09:58:10 +0200 Subject: [PATCH 2/3] Updated docs --- docs/reference.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index a5916e8..01b4d37 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -15,8 +15,6 @@ delete the .rst file afterwards. ssb\_konjunk package ==================== -Submodules ----------- ssb\_konjunk.data\_formating module ----------------------------------- @@ -34,18 +32,18 @@ ssb\_konjunk.fame module :undoc-members: :show-inheritance: -ssb\_konjunk.functions module ------------------------------ +ssb\_konjunk.prompts module +--------------------------- -.. automodule:: ssb_konjunk.functions +.. automodule:: ssb_konjunk.prompts :members: :undoc-members: :show-inheritance: -ssb\_konjunk.prompts module ---------------------------- +ssb\_konjunk.saving module +-------------------------- -.. automodule:: ssb_konjunk.prompts +.. automodule:: ssb_konjunk.saving :members: :undoc-members: :show-inheritance: From 28e1dfabdb1d5c6aaded1950e33e02eeac00ec1a Mon Sep 17 00:00:00 2001 From: Johanne Saxegaard Date: Wed, 21 Aug 2024 10:02:10 +0200 Subject: [PATCH 3/3] Release 0.1.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index be42b82..992e245 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ssb-konjunk" -version = "0.1.3" +version = "0.1.5" description = "SSB Konjunk" authors = ["Edvard Garmannslund "] license = "MIT"