Skip to content

Commit

Permalink
Updating paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tsgra committed Dec 6, 2024
1 parent c098f21 commit ba67f81
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 0.3.3
- Package version: 0.3.4
- Generator version: 7.10.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -85,11 +85,11 @@ All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_btu_per_watt_hour**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_btu_per_watt_hour) | **GET** /app/v1/ggrf/hvac_upgrade/btu_per_watt_hour/ | Ggrf Hvac Upgrade Btu Per Watt Hour
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_electric_to_electric**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_electric_to_electric) | **GET** /app/v1/ggrf/hvac_upgrade/electric_to_electric/ | Ggrf Hvac Upgrade Electric To Electric
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_fossil_to_electric**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_fossil_to_electric) | **GET** /app/v1/ggrf/hvac_upgrade/fossil_to_electric/ | Ggrf Hvac Upgrade Fossil To Electric
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_btu_per_watt_hour**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_btu_per_watt_hour) | **GET** /api/v1/ggrf/hvac_upgrade/btu_per_watt_hour/ | Ggrf Hvac Upgrade Btu Per Watt Hour
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_electric_to_electric**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_electric_to_electric) | **GET** /api/v1/ggrf/hvac_upgrade/electric_to_electric/ | Ggrf Hvac Upgrade Electric To Electric
*GGRFHVACUpdateApi* | [**ggrf_hvac_upgrade_fossil_to_electric**](docs/GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_fossil_to_electric) | **GET** /api/v1/ggrf/hvac_upgrade/fossil_to_electric/ | Ggrf Hvac Upgrade Fossil To Electric
*HealthImpactsApi* | [**query_health_impacts**](docs/HealthImpactsApi.md#query_health_impacts) | **GET** /api/v1/health_impacts/ | Query Health Impacts
*RangeUpgradeApi* | [**range_upgrade**](docs/RangeUpgradeApi.md#range_upgrade) | **GET** /app/v1/range_upgrade/ | Range Upgrade
*RangeUpgradeApi* | [**range_upgrade**](docs/RangeUpgradeApi.md#range_upgrade) | **GET** /api/v1/range_upgrade/ | Range Upgrade


## Documentation For Models
Expand Down
6 changes: 3 additions & 3 deletions docs/GGRFHVACUpdateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**ggrf_hvac_upgrade_btu_per_watt_hour**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_btu_per_watt_hour) | **GET** /app/v1/ggrf/hvac_upgrade/btu_per_watt_hour/ | Ggrf Hvac Upgrade Btu Per Watt Hour
[**ggrf_hvac_upgrade_electric_to_electric**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_electric_to_electric) | **GET** /app/v1/ggrf/hvac_upgrade/electric_to_electric/ | Ggrf Hvac Upgrade Electric To Electric
[**ggrf_hvac_upgrade_fossil_to_electric**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_fossil_to_electric) | **GET** /app/v1/ggrf/hvac_upgrade/fossil_to_electric/ | Ggrf Hvac Upgrade Fossil To Electric
[**ggrf_hvac_upgrade_btu_per_watt_hour**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_btu_per_watt_hour) | **GET** /api/v1/ggrf/hvac_upgrade/btu_per_watt_hour/ | Ggrf Hvac Upgrade Btu Per Watt Hour
[**ggrf_hvac_upgrade_electric_to_electric**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_electric_to_electric) | **GET** /api/v1/ggrf/hvac_upgrade/electric_to_electric/ | Ggrf Hvac Upgrade Electric To Electric
[**ggrf_hvac_upgrade_fossil_to_electric**](GGRFHVACUpdateApi.md#ggrf_hvac_upgrade_fossil_to_electric) | **GET** /api/v1/ggrf/hvac_upgrade/fossil_to_electric/ | Ggrf Hvac Upgrade Fossil To Electric


# **ggrf_hvac_upgrade_btu_per_watt_hour**
Expand Down
2 changes: 1 addition & 1 deletion docs/HealthImpactsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description
Query Health Impacts

Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['Medium Efficiency Heat Pump', 'Heat Pump Dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['med_eff_hp_hers_sizing_no_setback', 'hp_dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/RangeUpgradeApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**range_upgrade**](RangeUpgradeApi.md#range_upgrade) | **GET** /app/v1/range_upgrade/ | Range Upgrade
[**range_upgrade**](RangeUpgradeApi.md#range_upgrade) | **GET** /api/v1/range_upgrade/ | Range Upgrade


# **range_upgrade**
Expand Down
2 changes: 1 addition & 1 deletion electrificationutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "0.3.3"
__version__ = "0.3.4"

# import apis into sdk package
from electrificationutils.api.ggrfhvac_update_api import GGRFHVACUpdateApi
Expand Down
6 changes: 3 additions & 3 deletions electrificationutils/api/ggrfhvac_update_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _ggrf_hvac_upgrade_btu_per_watt_hour_serialize(

return self.api_client.param_serialize(
method='GET',
resource_path='/app/v1/ggrf/hvac_upgrade/btu_per_watt_hour/',
resource_path='/api/v1/ggrf/hvac_upgrade/btu_per_watt_hour/',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -605,7 +605,7 @@ def _ggrf_hvac_upgrade_electric_to_electric_serialize(

return self.api_client.param_serialize(
method='GET',
resource_path='/app/v1/ggrf/hvac_upgrade/electric_to_electric/',
resource_path='/api/v1/ggrf/hvac_upgrade/electric_to_electric/',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -955,7 +955,7 @@ def _ggrf_hvac_upgrade_fossil_to_electric_serialize(

return self.api_client.param_serialize(
method='GET',
resource_path='/app/v1/ggrf/hvac_upgrade/fossil_to_electric/',
resource_path='/api/v1/ggrf/hvac_upgrade/fossil_to_electric/',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down
6 changes: 3 additions & 3 deletions electrificationutils/api/health_impacts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def query_health_impacts(
) -> object:
"""Query Health Impacts
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['Medium Efficiency Heat Pump', 'Heat Pump Dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['med_eff_hp_hers_sizing_no_setback', 'hp_dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
:param metrics: A list of pollutant emissions metrics or economic valuations to aggregate. (required)
:type metrics: List[Metrics]
Expand Down Expand Up @@ -148,7 +148,7 @@ def query_health_impacts_with_http_info(
) -> ApiResponse[object]:
"""Query Health Impacts
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['Medium Efficiency Heat Pump', 'Heat Pump Dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['med_eff_hp_hers_sizing_no_setback', 'hp_dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
:param metrics: A list of pollutant emissions metrics or economic valuations to aggregate. (required)
:type metrics: List[Metrics]
Expand Down Expand Up @@ -232,7 +232,7 @@ def query_health_impacts_without_preload_content(
) -> RESTResponseType:
"""Query Health Impacts
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['Medium Efficiency Heat Pump', 'Heat Pump Dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
Query and aggregate results of Rewiring America's health impacts modeling data. This endpoint allows users to filter data by county, state, and upgrade options. It aggregates data based on specified pollutant and health-related metrics and provides the option to group results by user-defined columns. Parameters ---------- county_fips : List[str], optional A list of county FIPS codes to filter the data by. Defaults to an empty list. Example: ['001', '075']. state : List[str], optional A list of states to filter the data by. Defaults to an empty list. Example: ['CA', 'TX']. upgrade : List[str], required A list of upgrade options to filter the data by. Defaults to an empty list. Example: ['med_eff_hp_hers_sizing_no_setback', 'hp_dryer']. metrics : List[str], required A list of pollutant or economic valuation metrics to aggregate in the query. This field is required. Example: ['nh3_kg_delta', 'premature_mortality_incidence_delta']. groupby : List[str], optional A list of columns to group the query results by. Defaults to an empty list. Example: ['in_sqft_bin', 'acs_housing_type']. Returns ------- dict A dictionary containing the aggregated health data, with results filtered and grouped based on the provided parameters.
:param metrics: A list of pollutant emissions metrics or economic valuations to aggregate. (required)
:type metrics: List[Metrics]
Expand Down
2 changes: 1 addition & 1 deletion electrificationutils/api/range_upgrade_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _range_upgrade_serialize(

return self.api_client.param_serialize(
method='GET',
resource_path='/app/v1/range_upgrade/',
resource_path='/api/v1/range_upgrade/',
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down
2 changes: 1 addition & 1 deletion electrificationutils/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.3.3/python'
self.user_agent = 'OpenAPI-Generator/0.3.4/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion electrificationutils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def to_debug_report(self) -> str:
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.0\n"\
"SDK Package Version: 0.3.3".\
"SDK Package Version: 0.3.4".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tool.poetry]
name = "electrificationutils"
version = "0.3.3"
version = "0.3.4"
description = "smallmodelsapi"
authors = ["OpenAPI Generator Community <[email protected]>"]
license = "LICENSE.md"
license = "NoLicense"
readme = "README.md"
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
keywords = ["OpenAPI", "OpenAPI-Generator", "smallmodelsapi"]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "dml-small-models"
VERSION = "0.3.3"
VERSION = "0.3.4"
PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0",
Expand Down

0 comments on commit ba67f81

Please sign in to comment.