From ff0e19c7dc7dc97a49cea60e60a71807674126bc Mon Sep 17 00:00:00 2001 From: Amanda Eames Date: Tue, 2 Apr 2024 08:47:06 -0400 Subject: [PATCH 1/2] update country route name --- global-api/main.py | 4 ++-- .../{country_code_IEA_energy.py => country_code_endpoint.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename global-api/routes/{country_code_IEA_energy.py => country_code_endpoint.py} (100%) diff --git a/global-api/main.py b/global-api/main.py index 9dd131c45..9fecb80e2 100644 --- a/global-api/main.py +++ b/global-api/main.py @@ -14,7 +14,7 @@ from routes.catalogue_endpoint import api_router as catalouge_route from routes.catalogue_last_update_endpoint import api_router as catalogue_last_update_endpoint from routes.city_locode_endpoint_ghgrp import api_router as ghgrp_city_locode_route -from routes.country_code_IEA_energy import api_router as country_code_IEA_energy_route +from routes.country_code_endpoint import api_router as country_code_endpoint_route from routes.citywide_emission_endpoint import api_router as citywide_route """ @@ -126,7 +126,7 @@ def read_root(): ) app.include_router( - country_code_IEA_energy_route, + country_code_endpoint_route, tags=["IEA energy"], ) diff --git a/global-api/routes/country_code_IEA_energy.py b/global-api/routes/country_code_endpoint.py similarity index 100% rename from global-api/routes/country_code_IEA_energy.py rename to global-api/routes/country_code_endpoint.py From eaf35fc1ab7ccc51d97ab3aef31689cf1bb9cc2e Mon Sep 17 00:00:00 2001 From: Amanda Eames Date: Tue, 2 Apr 2024 13:23:20 -0400 Subject: [PATCH 2/2] updated tag --- global-api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-api/main.py b/global-api/main.py index 9fecb80e2..8d9115da7 100644 --- a/global-api/main.py +++ b/global-api/main.py @@ -127,7 +127,7 @@ def read_root(): app.include_router( country_code_endpoint_route, - tags=["IEA energy"], + tags=["Countrywide emissions"], ) app.include_router(