Skip to content

Commit

Permalink
Merge pull request #14 from AlexGherardelli/data-bridges-client-2.0.0
Browse files Browse the repository at this point in the history
Data Bridges client 2.0.0
  • Loading branch information
AlexGherardelli authored Jan 30, 2024
2 parents 18e3c2d + 6dfcf7a commit b013fb0
Show file tree
Hide file tree
Showing 303 changed files with 26,368 additions and 26,824 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# NOTE: This file is auto generated by OpenAPI Generator.
# URL: https://openapi-generator.tech
#
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: data_bridges_client Python package

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
18 changes: 1 addition & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,5 @@ docs/_build/
# PyBuilder
target/

# Ipython Notebook
#Ipython Notebook
.ipynb_checkpoints

# PyCharm
.idea/

# Swagger
generate/swagger.json

# Unneccessary autogenerated files
.gitlab-ci.yml
git_push.sh
.travis.yml

# Env secrets
.env

/test_runs
31 changes: 31 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# NOTE: This file is auto generated by OpenAPI Generator.
# URL: https://openapi-generator.tech
#
# ref: https://docs.gitlab.com/ee/ci/README.html
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml

stages:
- test

.pytest:
stage: test
script:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pytest --cov=data_bridges_client

pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8:
extends: .pytest
image: python:3.8-alpine
pytest-3.9:
extends: .pytest
image: python:3.9-alpine
pytest-3.10:
extends: .pytest
image: python:3.10-alpine
pytest-3.11:
extends: .pytest
image: python:3.11-alpine
3 changes: 0 additions & 3 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

/scripts
.gitignore

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs
Expand Down
204 changes: 129 additions & 75 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
data_bridges_client/__init__.py
Expand All @@ -9,73 +12,67 @@ data_bridges_client/api/currency_api.py
data_bridges_client/api/economic_data_api.py
data_bridges_client/api/food_security_api.py
data_bridges_client/api/gorp_api.py
data_bridges_client/api/incubation_api.py
data_bridges_client/api/market_prices_api.py
data_bridges_client/api/markets_api.py
data_bridges_client/api/rpme_api.py
data_bridges_client/api/surveys_api.py
data_bridges_client/api/xls_forms_api.py
data_bridges_client/api_client.py
data_bridges_client/apis/__init__.py
data_bridges_client/api_response.py
data_bridges_client/configuration.py
data_bridges_client/exceptions.py
data_bridges_client/model/__init__.py
data_bridges_client/model/bad_request_dto.py
data_bridges_client/model/commodity_dto.py
data_bridges_client/model/commodity_price_dto.py
data_bridges_client/model/commodity_processing_dto.py
data_bridges_client/model/commodity_quality_dto.py
data_bridges_client/model/coordinate.py
data_bridges_client/model/coordinate_equality_comparer.py
data_bridges_client/model/coordinate_sequence.py
data_bridges_client/model/coordinate_sequence_factory.py
data_bridges_client/model/currency_dto.py
data_bridges_client/model/dimension.py
data_bridges_client/model/economic_indicator_property.py
data_bridges_client/model/economic_indicator_property_paged_result.py
data_bridges_client/model/envelope.py
data_bridges_client/model/geometry.py
data_bridges_client/model/geometry_factory.py
data_bridges_client/model/geometry_overlay.py
data_bridges_client/model/gorp_value_with_changes.py
data_bridges_client/model/gorp_value_with_changes_paged_result.py
data_bridges_client/model/i_attributes_table.py
data_bridges_client/model/i_feature.py
data_bridges_client/model/ipc_value.py
data_bridges_client/model/ipc_value_paged_result.py
data_bridges_client/model/mfi_processed_data_dto.py
data_bridges_client/model/nearby_markets_dto.py
data_bridges_client/model/nts_geometry_services.py
data_bridges_client/model/ogc_geometry_type.py
data_bridges_client/model/ordinates.py
data_bridges_client/model/paged_commodity_list_dto.py
data_bridges_client/model/paged_commodity_price_list_dto.py
data_bridges_client/model/paged_commodity_weekly_aggregated_price_list_dto.py
data_bridges_client/model/paged_currency_list_dto.py
data_bridges_client/model/paged_processed_data_dto.py
data_bridges_client/model/paged_survey_list_dto.py
data_bridges_client/model/paged_xls_form_list_dto.py
data_bridges_client/model/point.py
data_bridges_client/model/precision_model.py
data_bridges_client/model/precision_models.py
data_bridges_client/model/problem_details.py
data_bridges_client/model/rpme_assessment.py
data_bridges_client/model/rpme_assessment_paged_result.py
data_bridges_client/model/rpme_output_values.py
data_bridges_client/model/rpme_variable.py
data_bridges_client/model/rpme_variable_paged_result.py
data_bridges_client/model/survey_details_dto.py
data_bridges_client/model/survey_list_dto.py
data_bridges_client/model/usd_indirect_quotation.py
data_bridges_client/model/usd_indirect_quotation_paged_result.py
data_bridges_client/model/view_extended_aggregated_price.py
data_bridges_client/model/view_extended_aggregated_price_paged_result.py
data_bridges_client/model/view_extended_alps_value.py
data_bridges_client/model/view_extended_alps_value_paged_result.py
data_bridges_client/model/weekly_aggregated_price.py
data_bridges_client/model/xls_form_definition_dto.py
data_bridges_client/model/xls_form_dto.py
data_bridges_client/model_utils.py
data_bridges_client/models/__init__.py
data_bridges_client/models/bad_request_dto.py
data_bridges_client/models/commodity_dto.py
data_bridges_client/models/commodity_price_dto.py
data_bridges_client/models/commodity_processing_dto.py
data_bridges_client/models/commodity_quality_dto.py
data_bridges_client/models/currency_dto.py
data_bridges_client/models/economic_data_dto.py
data_bridges_client/models/economic_indicator_property.py
data_bridges_client/models/economic_indicator_property_paged_result.py
data_bridges_client/models/feature.py
data_bridges_client/models/geometry.py
data_bridges_client/models/gorp_value_with_changes.py
data_bridges_client/models/gorp_value_with_changes_paged_result.py
data_bridges_client/models/household_survey_list_dto.py
data_bridges_client/models/household_survey_list_dto_paged_result.py
data_bridges_client/models/ipc_value.py
data_bridges_client/models/ipc_value_paged_result.py
data_bridges_client/models/key_name_dto.py
data_bridges_client/models/market_dto.py
data_bridges_client/models/market_geo_json_root.py
data_bridges_client/models/mfi_processed_data_dto.py
data_bridges_client/models/nearby_markets_dto.py
data_bridges_client/models/paged_commodity_list_dto.py
data_bridges_client/models/paged_commodity_price_list_dto.py
data_bridges_client/models/paged_commodity_weekly_aggregated_price_list_dto.py
data_bridges_client/models/paged_currency_list_dto.py
data_bridges_client/models/paged_economic_data_dto.py
data_bridges_client/models/paged_market_list_dto.py
data_bridges_client/models/paged_processed_data_dto.py
data_bridges_client/models/paged_survey_list_dto.py
data_bridges_client/models/paged_survey_responses_dto.py
data_bridges_client/models/paged_xls_form_list_dto.py
data_bridges_client/models/problem_details.py
data_bridges_client/models/properties.py
data_bridges_client/models/rpme_assessment.py
data_bridges_client/models/rpme_assessment_paged_result.py
data_bridges_client/models/rpme_output_values.py
data_bridges_client/models/rpme_variable.py
data_bridges_client/models/rpme_variable_paged_result.py
data_bridges_client/models/survey_list_dto.py
data_bridges_client/models/usd_indirect_quotation.py
data_bridges_client/models/usd_indirect_quotation_paged_result.py
data_bridges_client/models/view_extended_aggregated_price.py
data_bridges_client/models/view_extended_aggregated_price_paged_result.py
data_bridges_client/models/view_extended_alps_value.py
data_bridges_client/models/view_extended_alps_value_paged_result.py
data_bridges_client/models/weekly_aggregated_price.py
data_bridges_client/models/xls_form_definition_dto.py
data_bridges_client/models/xls_form_dto.py
data_bridges_client/py.typed
data_bridges_client/rest.py
docs/BadRequestDTO.md
docs/CommoditiesApi.md
Expand All @@ -84,53 +81,48 @@ docs/CommodityPriceDTO.md
docs/CommodityProcessingDTO.md
docs/CommodityQualityDTO.md
docs/CommodityUnitsApi.md
docs/Coordinate.md
docs/CoordinateEqualityComparer.md
docs/CoordinateSequence.md
docs/CoordinateSequenceFactory.md
docs/CurrencyApi.md
docs/CurrencyDTO.md
docs/Dimension.md
docs/EconomicDataApi.md
docs/EconomicDataDTO.md
docs/EconomicIndicatorProperty.md
docs/EconomicIndicatorPropertyPagedResult.md
docs/Envelope.md
docs/Feature.md
docs/FoodSecurityApi.md
docs/Geometry.md
docs/GeometryFactory.md
docs/GeometryOverlay.md
docs/GorpApi.md
docs/GorpValueWithChanges.md
docs/GorpValueWithChangesPagedResult.md
docs/IAttributesTable.md
docs/IFeature.md
docs/HouseholdSurveyListDTO.md
docs/HouseholdSurveyListDTOPagedResult.md
docs/IncubationApi.md
docs/IpcValue.md
docs/IpcValuePagedResult.md
docs/KeyNameDto.md
docs/MFIProcessedDataDTO.md
docs/MarketDTO.md
docs/MarketGeoJsonRoot.md
docs/MarketPricesApi.md
docs/MarketsApi.md
docs/NearbyMarketsDTO.md
docs/NtsGeometryServices.md
docs/OgcGeometryType.md
docs/Ordinates.md
docs/PagedCommodityListDTO.md
docs/PagedCommodityPriceListDTO.md
docs/PagedCommodityWeeklyAggregatedPriceListDTO.md
docs/PagedCurrencyListDTO.md
docs/PagedEconomicDataDTO.md
docs/PagedMarketListDTO.md
docs/PagedProcessedDataDTO.md
docs/PagedSurveyListDTO.md
docs/PagedSurveyResponsesDTO.md
docs/PagedXlsFormListDTO.md
docs/Point.md
docs/PrecisionModel.md
docs/PrecisionModels.md
docs/ProblemDetails.md
docs/Properties.md
docs/RpmeApi.md
docs/RpmeAssessment.md
docs/RpmeAssessmentPagedResult.md
docs/RpmeOutputValues.md
docs/RpmeVariable.md
docs/RpmeVariablePagedResult.md
docs/SurveyDetailsDTO.md
docs/SurveyListDTO.md
docs/SurveysApi.md
docs/UsdIndirectQuotation.md
Expand All @@ -144,9 +136,71 @@ docs/XlsFormDTO.md
docs/XlsFormDefinitionDTO.md
docs/XlsFormsApi.md
git_push.sh
pyproject.toml
requirements.txt
setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_bad_request_dto.py
test/test_commodities_api.py
test/test_commodity_dto.py
test/test_commodity_price_dto.py
test/test_commodity_processing_dto.py
test/test_commodity_quality_dto.py
test/test_commodity_units_api.py
test/test_currency_api.py
test/test_currency_dto.py
test/test_economic_data_api.py
test/test_economic_data_dto.py
test/test_economic_indicator_property.py
test/test_economic_indicator_property_paged_result.py
test/test_feature.py
test/test_food_security_api.py
test/test_geometry.py
test/test_gorp_api.py
test/test_gorp_value_with_changes.py
test/test_gorp_value_with_changes_paged_result.py
test/test_household_survey_list_dto.py
test/test_household_survey_list_dto_paged_result.py
test/test_incubation_api.py
test/test_ipc_value.py
test/test_ipc_value_paged_result.py
test/test_key_name_dto.py
test/test_market_dto.py
test/test_market_geo_json_root.py
test/test_market_prices_api.py
test/test_markets_api.py
test/test_mfi_processed_data_dto.py
test/test_nearby_markets_dto.py
test/test_paged_commodity_list_dto.py
test/test_paged_commodity_price_list_dto.py
test/test_paged_commodity_weekly_aggregated_price_list_dto.py
test/test_paged_currency_list_dto.py
test/test_paged_economic_data_dto.py
test/test_paged_market_list_dto.py
test/test_paged_processed_data_dto.py
test/test_paged_survey_list_dto.py
test/test_paged_survey_responses_dto.py
test/test_paged_xls_form_list_dto.py
test/test_problem_details.py
test/test_properties.py
test/test_rpme_api.py
test/test_rpme_assessment.py
test/test_rpme_assessment_paged_result.py
test/test_rpme_output_values.py
test/test_rpme_variable.py
test/test_rpme_variable_paged_result.py
test/test_survey_list_dto.py
test/test_surveys_api.py
test/test_usd_indirect_quotation.py
test/test_usd_indirect_quotation_paged_result.py
test/test_view_extended_aggregated_price.py
test/test_view_extended_aggregated_price_paged_result.py
test/test_view_extended_alps_value.py
test/test_view_extended_alps_value_paged_result.py
test/test_weekly_aggregated_price.py
test/test_xls_form_definition_dto.py
test/test_xls_form_dto.py
test/test_xls_forms_api.py
tox.ini
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.4.0
7.2.0
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ref: https://docs.travis-ci.com/user/languages/python
language: python
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
# uncomment the following if needed
#- "3.11-dev" # 3.11 development branch
#- "nightly" # nightly build
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install -r test-requirements.txt"
# command to run tests
script: pytest --cov=data_bridges_client
Loading

0 comments on commit b013fb0

Please sign in to comment.