Skip to content

Commit

Permalink
Merge pull request #7 from blues/feat-openapi-update
Browse files Browse the repository at this point in the history
bug: Fix systemFilesOnlyParam documentation
  • Loading branch information
paigen11 authored Jun 7, 2024
2 parents cf4800f + 6e7a18a commit a181a5a
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 109 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packageName": "notehub_py",
"packageUrl": "https://github.com/blues/notehub-py",
"projectName": "notehub-py",
"packageVersion": "0.0.4"
"packageVersion": "0.0.5"
}
1 change: 0 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,6 @@ components:
required: false
schema:
type: boolean
example: true

fleetUIDQueryParam:
name: fleetUID
Expand Down
96 changes: 0 additions & 96 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
docs/Alert.md
Expand Down Expand Up @@ -210,99 +209,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_alert.py
test/test_alert_api.py
test/test_alert_data_inner.py
test/test_alert_notifications_inner.py
test/test_authorization_api.py
test/test_aws.py
test/test_azure.py
test/test_billing_account.py
test/test_billing_account_api.py
test/test_billing_account_role.py
test/test_body.py
test/test_clone_project_request.py
test/test_contact.py
test/test_create_fleet_request.py
test/test_create_monitor.py
test/test_create_product_request.py
test/test_create_project_request.py
test/test_delete_device_fleets_request.py
test/test_device.py
test/test_device_api.py
test/test_device_session.py
test/test_device_tower_info.py
test/test_device_usage.py
test/test_dfu_env.py
test/test_dfu_state.py
test/test_email_notification.py
test/test_environment_variables.py
test/test_error.py
test/test_event.py
test/test_event_api.py
test/test_firmware_info.py
test/test_firmware_status.py
test/test_fleet.py
test/test_get_alerts200_response.py
test/test_get_billing_accounts200_response.py
test/test_get_device_environment_variables200_response.py
test/test_get_device_health_log200_response.py
test/test_get_device_health_log200_response_health_log_inner.py
test/test_get_device_latest200_response.py
test/test_get_device_public_key200_response.py
test/test_get_device_sessions200_response.py
test/test_get_project_device_public_keys200_response.py
test/test_get_project_device_public_keys200_response_device_public_keys_inner.py
test/test_get_project_devices200_response.py
test/test_get_project_events200_response.py
test/test_get_project_events_by_cursor200_response.py
test/test_get_project_fleets200_response.py
test/test_get_project_members200_response.py
test/test_get_project_products200_response.py
test/test_get_projects200_response.py
test/test_get_route_logs_by_route200_response_inner.py
test/test_google.py
test/test_handle_note_changes200_response.py
test/test_handle_note_get200_response.py
test/test_handle_note_signal200_response.py
test/test_handle_notefile_changes200_response.py
test/test_handle_notefile_changes_pending200_response.py
test/test_handle_notefile_delete_request.py
test/test_http.py
test/test_http_filter.py
test/test_http_transform.py
test/test_location.py
test/test_login200_response.py
test/test_login_request.py
test/test_monitor.py
test/test_monitor_alert_routes_inner.py
test/test_monitor_api.py
test/test_mqtt.py
test/test_note.py
test/test_ota_status.py
test/test_ota_status_list.py
test/test_ota_update_request.py
test/test_ota_update_status.py
test/test_post_provision_project_device_request.py
test/test_product.py
test/test_project.py
test/test_project_api.py
test/test_project_member.py
test/test_proxy.py
test/test_put_device_fleets_request.py
test/test_radresponder.py
test/test_role.py
test/test_route.py
test/test_route_api.py
test/test_route_schema.py
test/test_slack.py
test/test_slack_bearer_notification.py
test/test_slack_web_hook_notification.py
test/test_snowflake.py
test/test_snowflake_transform.py
test/test_thingworx.py
test/test_tower_location.py
test/test_twilio.py
test/test_update_fleet_request.py
test/test_user_db_route.py
tox.ini
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The OpenAPI definition for the Notehub.io API.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 0.0.4
- Package version: 0.0.5
- Generator version: 7.5.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
Expand Down
8 changes: 4 additions & 4 deletions src/docs/EventApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ with notehub_py.ApiClient(configuration) as api_client:
sort_order = 'asc' # str | (optional) (default to 'asc')
start_date = 1628631763 # int | Unix timestamp (optional)
end_date = 1657894210 # int | Unix timestamp (optional)
system_files_only = true # bool | (optional)
system_files_only = True # bool | (optional)
files = '_health.qo, data.qo' # str | (optional)

try:
Expand Down Expand Up @@ -153,7 +153,7 @@ with notehub_py.ApiClient(configuration) as api_client:
limit = 50 # int | (optional) (default to 50)
cursor = 'cursor_example' # str | A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included. (optional)
sort_order = 'asc' # str | (optional) (default to 'asc')
system_files_only = true # bool | (optional)
system_files_only = True # bool | (optional)
files = '_health.qo, data.qo' # str | (optional)
device_uid = 'device_uid_example' # str | A Device UID. (optional)
start_date = 1628631763 # int | Unix timestamp (optional)
Expand Down Expand Up @@ -253,7 +253,7 @@ with notehub_py.ApiClient(configuration) as api_client:
sort_order = 'asc' # str | (optional) (default to 'asc')
start_date = 1628631763 # int | Unix timestamp (optional)
end_date = 1657894210 # int | Unix timestamp (optional)
system_files_only = true # bool | (optional)
system_files_only = True # bool | (optional)
files = '_health.qo, data.qo' # str | (optional)

try:
Expand Down Expand Up @@ -346,7 +346,7 @@ with notehub_py.ApiClient(configuration) as api_client:
limit = 50 # int | (optional) (default to 50)
cursor = 'cursor_example' # str | A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included. (optional)
sort_order = 'asc' # str | (optional) (default to 'asc')
system_files_only = true # bool | (optional)
system_files_only = True # bool | (optional)
files = '_health.qo, data.qo' # str | (optional)
fleet_uid = 'fleet_uid_example' # str | (optional)
device_uid = 'device_uid_example' # str | A Device UID. (optional)
Expand Down
2 changes: 1 addition & 1 deletion src/docs/RouteApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ with notehub_py.ApiClient(configuration) as api_client:
sort_order = 'asc' # str | (optional) (default to 'asc')
start_date = 1628631763 # int | Unix timestamp (optional)
end_date = 1657894210 # int | Unix timestamp (optional)
system_files_only = true # bool | (optional)
system_files_only = True # bool | (optional)
files = '_health.qo, data.qo' # str | (optional)

try:
Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.0.4"
__version__ = "0.0.5"

# import apis into sdk package
from notehub_py.api.alert_api import AlertApi
Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.0.4/python'
self.user_agent = 'OpenAPI-Generator/0.0.5/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\
"SDK Package Version: 0.0.4".\
"SDK Package Version: 0.0.5".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "notehub_py"
version = "0.0.4"
version = "0.0.5"
description = "Notehub API"
authors = ["Blues Engineering <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "notehub-py"
VERSION = "0.0.4"
VERSION = "0.0.5"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down

0 comments on commit a181a5a

Please sign in to comment.