aboutsummaryrefslogtreecommitdiffstats
path: root/datamaps/api/api.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2021-05-18 20:26:07 +0100
committerMatthew Lemon <matt@matthewlemon.com>2021-05-18 20:26:07 +0100
commit0f21c97f06bccd2260931e7543a24dc618f355b4 (patch)
tree61ab91a2c9665c2e67b7581652dd2939109266c7 /datamaps/api/api.py
parent62617d6ef952c24e134b4bc403263ed990a42ec8 (diff)
fixed test related to getting the correct year from a Month()
Diffstat (limited to '')
-rw-r--r--datamaps/api/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/datamaps/api/api.py b/datamaps/api/api.py
index 4073fbc..072d95f 100644
--- a/datamaps/api/api.py
+++ b/datamaps/api/api.py
@@ -15,7 +15,7 @@ def project_data_from_master_api(master_file: str, quarter: int, year: int):
return m
-def project_data_from_master_month_api(master_file: str, month: int, year: int):
+def project_data_from_master_month_api(master_file: str, month: int, year: int) -> Master:
"""Create a Master object directly without the need to explicitly pass
a Month object.