Skip to content

Commit

Permalink
Regenerate client from commit 4c87660 of spec repo (#69)
Browse files Browse the repository at this point in the history
Co-authored-by: ArduinoBot <[email protected]>
  • Loading branch information
github-actions[bot] and ArduinoBot authored Sep 25, 2023
1 parent 3cbdd5d commit 0ff3634
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 81 deletions.
4 changes: 2 additions & 2 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"spec_versions": {
"v2": {
"apigentools_version": "1.1.0",
"regenerated": "2023-09-21 07:52:51.292694",
"spec_repo_commit": "3b4cb8a"
"regenerated": "2023-09-22 12:44:54.011243",
"spec_repo_commit": "4c87660"
}
}
}
73 changes: 0 additions & 73 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -261,77 +261,4 @@ setup.py
test-requirements.txt
test/__init__.py
test/test_models/__init__.py
test/test_models/test_arduino_compressedv2.py
test/test_models/test_arduino_dashboardowner.py
test/test_models/test_arduino_dashboardshare.py
test/test_models/test_arduino_dashboardshare_collection.py
test/test_models/test_arduino_dashboardv2.py
test/test_models/test_arduino_dashboardv2_collection.py
test/test_models/test_arduino_devicev2.py
test/test_models/test_arduino_devicev2_cert.py
test/test_models/test_arduino_devicev2_cert_collection.py
test/test_models/test_arduino_devicev2_collection.py
test/test_models/test_arduino_devicev2_event_properties.py
test/test_models/test_arduino_devicev2_pass.py
test/test_models/test_arduino_devicev2_simple_properties.py
test/test_models/test_arduino_devicev2_simple_properties_collection.py
test/test_models/test_arduino_devicev2_webhook.py
test/test_models/test_arduino_devicev2_webhook_collection.py
test/test_models/test_arduino_devicev2properties.py
test/test_models/test_arduino_devicev2propertyvalue.py
test/test_models/test_arduino_devicev2propertyvalue_collection.py
test/test_models/test_arduino_devicev2propertyvalues.py
test/test_models/test_arduino_linkedvariable.py
test/test_models/test_arduino_linkedvariable_collection.py
test/test_models/test_arduino_loradevicev1.py
test/test_models/test_arduino_lorafreqplansv1.py
test/test_models/test_arduino_lorafreqplanv1.py
test/test_models/test_arduino_property.py
test/test_models/test_arduino_property_collection.py
test/test_models/test_arduino_series_batch.py
test/test_models/test_arduino_series_raw_batch.py
test/test_models/test_arduino_series_raw_batch_lastvalue.py
test/test_models/test_arduino_series_raw_last_value_response.py
test/test_models/test_arduino_series_raw_response.py
test/test_models/test_arduino_series_response.py
test/test_models/test_arduino_tags.py
test/test_models/test_arduino_thing.py
test/test_models/test_arduino_thing_collection.py
test/test_models/test_arduino_timeseriesmedia.py
test/test_models/test_arduino_timezone.py
test/test_models/test_arduino_variableslinks.py
test/test_models/test_arduino_widgetv2.py
test/test_models/test_arduino_widgetv2_collection.py
test/test_models/test_batch_last_value_requests_media_v1.py
test/test_models/test_batch_query_raw_last_value_request_media_v1.py
test/test_models/test_batch_query_raw_request_media_v1.py
test/test_models/test_batch_query_raw_requests_media_v1.py
test/test_models/test_batch_query_raw_response_series_media_v1.py
test/test_models/test_batch_query_request_media_v1.py
test/test_models/test_batch_query_requests_media_v1.py
test/test_models/test_check_devices_v2_pass_payload.py
test/test_models/test_create_devices_v2_certs_payload.py
test/test_models/test_create_devices_v2_payload.py
test/test_models/test_create_lora_devices_v1_payload.py
test/test_models/test_dashboardshare.py
test/test_models/test_dashboardv2.py
test/test_models/test_devicev2.py
test/test_models/test_devicev2_cert.py
test/test_models/test_devicev2_otabinaryurl.py
test/test_models/test_devicev2_pass.py
test/test_models/test_error.py
test/test_models/test_historic_data_request.py
test/test_models/test_model_property.py
test/test_models/test_properties_value.py
test/test_models/test_properties_values.py
test/test_models/test_property_value.py
test/test_models/test_sharerequest.py
test/test_models/test_tag.py
test/test_models/test_thing_create.py
test/test_models/test_thing_sketch.py
test/test_models/test_thing_update.py
test/test_models/test_timeseries_data_point.py
test/test_models/test_update_sketch.py
test/test_models/test_widget.py
test/test_models/test_widgetlink.py
tox.ini
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ Once you get a token, you can create an instance of the iot-api client:
import iot_api_client as iot
from iot_api_client.rest import ApiException
from iot_api_client.configuration import Configuration
import iot_api_client.apis.tags.devices_v2_api as DevicesV2

# configure and instance the API client
client_config = Configuration(host="https://api2.arduino.cc/iot")
client_config.access_token = YOUR_ACCESS_TOKEN
client = iot.ApiClient(client_config)

# as an example, interact with the devices API
devices_api = DevicesV2.DevicesV2Api(client)
devices_api = iot.DevicesV2Api(client)

try:
resp = devices_api.devices_v2_list()
Expand Down
2 changes: 1 addition & 1 deletion iot_api_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Generated by: https://openapi-generator.tech
"""

__version__ = "1.5.0"
__version__ = "2.0.0"

# import ApiClient
from iot_api_client.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion iot_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2.0\n"\
"SDK Package Version: 1.5.0".\
"SDK Package Version: 2.0.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ certifi >= 14.5.14
frozendict ~= 2.3.4
python-dateutil ~= 2.7.0
setuptools >= 21.0.0
typing_extensions ~= 4.8.0
typing_extensions ~= 4.3.0
urllib3 ~= 1.26.7
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
long_description = f.read()

NAME = "arduino-iot-client"
REQUIRES = ["urllib3 >= 1.26.7", "certifi", "python-dateutil", "frozendict", "setuptools", "typing_extensions >= 4.8.0", "wheel >= 0.41.2"]
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]

setup(
name=NAME,
Expand Down

0 comments on commit 0ff3634

Please sign in to comment.