Skip to content

Commit 2deaa76

Browse files
Update stubs.
1 parent 1e3d9f8 commit 2deaa76

File tree

383 files changed

+15933
-9476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+15933
-9476
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install flake8 pytest
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30-
- name: Lint with flake8
31-
run: |
32-
# stop the build if there are Python syntax errors or undefined names
33-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
3629
- name: Test with pytest
3730
run: |
38-
pytest
31+
pytest --cov={{packageName}}

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=opcua_webapi
1616

17-
pytest-3.7:
18-
extends: .pytest
19-
image: python:3.7-alpine
2017
pytest-3.8:
2118
extends: .pytest
2219
image: python:3.8-alpine
@@ -29,3 +26,6 @@ pytest-3.10:
2926
pytest-3.11:
3027
extends: .pytest
3128
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

.openapi-generator/FILES

Lines changed: 0 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.github/workflows/python.yml
22
.gitignore
33
.gitlab-ci.yml
4-
.openapi-generator-ignore
54
.travis.yml
65
README.md
76
docs/ActivateSessionRequest.md
@@ -113,7 +112,6 @@ docs/MonitoredItemModifyResult.md
113112
docs/MonitoredItemNotification.md
114113
docs/MonitoringMode.md
115114
docs/MonitoringParameters.md
116-
docs/NetworkAddressDataType.md
117115
docs/NodeClass.md
118116
docs/NotificationMessage.md
119117
docs/PerformUpdateType.md
@@ -304,7 +302,6 @@ opcua_webapi/models/monitored_item_modify_result.py
304302
opcua_webapi/models/monitored_item_notification.py
305303
opcua_webapi/models/monitoring_mode.py
306304
opcua_webapi/models/monitoring_parameters.py
307-
opcua_webapi/models/network_address_data_type.py
308305
opcua_webapi/models/node_class.py
309306
opcua_webapi/models/notification_message.py
310307
opcua_webapi/models/perform_update_type.py
@@ -386,187 +383,4 @@ setup.cfg
386383
setup.py
387384
test-requirements.txt
388385
test/__init__.py
389-
test/test_activate_session_request.py
390-
test/test_activate_session_response.py
391-
test/test_aggregate_configuration.py
392-
test/test_aggregate_filter.py
393-
test/test_aggregate_filter_result.py
394-
test/test_application_description.py
395-
test/test_application_type.py
396-
test/test_argument.py
397-
test/test_attribute_operand.py
398-
test/test_broker_connection_transport_data_type.py
399-
test/test_broker_data_set_reader_transport_data_type.py
400-
test/test_broker_data_set_writer_transport_data_type.py
401-
test/test_broker_transport_quality_of_service.py
402-
test/test_broker_writer_group_transport_data_type.py
403-
test/test_browse_description.py
404-
test/test_browse_direction.py
405-
test/test_browse_next_request.py
406-
test/test_browse_next_response.py
407-
test/test_browse_path.py
408-
test/test_browse_path_result.py
409-
test/test_browse_path_target.py
410-
test/test_browse_request.py
411-
test/test_browse_response.py
412-
test/test_browse_result.py
413-
test/test_call_method_request.py
414-
test/test_call_method_result.py
415-
test/test_call_request.py
416-
test/test_call_response.py
417-
test/test_cancel_request.py
418-
test/test_cancel_response.py
419-
test/test_close_session_request.py
420-
test/test_close_session_response.py
421-
test/test_configuration_version_data_type.py
422-
test/test_content_filter.py
423-
test/test_content_filter_element.py
424-
test/test_content_filter_element_result.py
425-
test/test_content_filter_result.py
426-
test/test_create_monitored_items_request.py
427-
test/test_create_monitored_items_response.py
428-
test/test_create_session_request.py
429-
test/test_create_session_response.py
430-
test/test_create_subscription_request.py
431-
test/test_create_subscription_response.py
432-
test/test_data_change_filter.py
433-
test/test_data_change_notification.py
434-
test/test_data_change_trigger.py
435-
test/test_data_set_meta_data_type.py
436-
test/test_data_set_reader_data_type.py
437-
test/test_data_set_writer_data_type.py
438-
test/test_data_type_description.py
439-
test/test_data_type_schema_header.py
440-
test/test_data_value.py
441-
test/test_decimal.py
442-
test/test_default_api.py
443-
test/test_delete_monitored_items_request.py
444-
test/test_delete_monitored_items_response.py
445-
test/test_delete_subscriptions_request.py
446-
test/test_delete_subscriptions_response.py
447-
test/test_diagnostic_info.py
448-
test/test_element_operand.py
449-
test/test_endpoint_description.py
450-
test/test_enum_definition.py
451-
test/test_enum_description.py
452-
test/test_enum_field.py
453-
test/test_enum_value_type.py
454-
test/test_eu_information.py
455-
test/test_event_field_list.py
456-
test/test_event_filter.py
457-
test/test_event_filter_result.py
458-
test/test_event_notification_list.py
459-
test/test_extension_object.py
460-
test/test_field_meta_data.py
461-
test/test_filter_operator.py
462-
test/test_find_servers_request.py
463-
test/test_find_servers_response.py
464-
test/test_get_endpoints_request.py
465-
test/test_get_endpoints_response.py
466-
test/test_history_data.py
467-
test/test_history_event.py
468-
test/test_history_event_field_list.py
469-
test/test_history_modified_data.py
470-
test/test_history_read_request.py
471-
test/test_history_read_response.py
472-
test/test_history_read_result.py
473-
test/test_history_read_value_id.py
474-
test/test_history_update_request.py
475-
test/test_history_update_response.py
476-
test/test_history_update_result.py
477-
test/test_history_update_type.py
478-
test/test_issued_identity_token.py
479-
test/test_json_data_set_reader_message_data_type.py
480-
test/test_json_data_set_writer_message_data_type.py
481-
test/test_json_writer_group_message_data_type.py
482-
test/test_key_value_pair.py
483-
test/test_literal_operand.py
484-
test/test_localized_text.py
485-
test/test_message_security_mode.py
486-
test/test_modification_info.py
487-
test/test_modify_monitored_items_request.py
488-
test/test_modify_monitored_items_response.py
489-
test/test_modify_subscription_request.py
490-
test/test_modify_subscription_response.py
491-
test/test_monitored_item_create_request.py
492-
test/test_monitored_item_create_result.py
493-
test/test_monitored_item_modify_request.py
494-
test/test_monitored_item_modify_result.py
495-
test/test_monitored_item_notification.py
496-
test/test_monitoring_mode.py
497-
test/test_monitoring_parameters.py
498-
test/test_network_address_data_type.py
499-
test/test_node_class.py
500-
test/test_notification_message.py
501-
test/test_perform_update_type.py
502-
test/test_pub_sub_configuration2_data_type.py
503-
test/test_pub_sub_configuration_data_type.py
504-
test/test_pub_sub_connection_data_type.py
505-
test/test_pub_sub_group_data_type.py
506-
test/test_pub_sub_key_push_target_data_type.py
507-
test/test_pub_sub_state.py
508-
test/test_publish_request.py
509-
test/test_publish_response.py
510-
test/test_published_data_set_data_type.py
511-
test/test_range.py
512-
test/test_read_annotation_data_details.py
513-
test/test_read_at_time_details.py
514-
test/test_read_event_details.py
515-
test/test_read_event_details2.py
516-
test/test_read_processed_details.py
517-
test/test_read_raw_modified_details.py
518-
test/test_read_request.py
519-
test/test_read_response.py
520-
test/test_read_value_id.py
521-
test/test_reader_group_data_type.py
522-
test/test_reference_description.py
523-
test/test_register_nodes_request.py
524-
test/test_register_nodes_response.py
525-
test/test_relative_path.py
526-
test/test_relative_path_element.py
527-
test/test_republish_request.py
528-
test/test_republish_response.py
529-
test/test_request_header.py
530-
test/test_response_header.py
531-
test/test_role_permission_type.py
532-
test/test_security_group_data_type.py
533-
test/test_set_monitoring_mode_request.py
534-
test/test_set_monitoring_mode_response.py
535-
test/test_set_publishing_mode_request.py
536-
test/test_set_publishing_mode_response.py
537-
test/test_set_triggering_request.py
538-
test/test_set_triggering_response.py
539-
test/test_signature_data.py
540-
test/test_signed_software_certificate.py
541-
test/test_simple_attribute_operand.py
542-
test/test_simple_type_description.py
543-
test/test_standalone_subscribed_data_set_data_type.py
544-
test/test_status_change_notification.py
545-
test/test_structure_definition.py
546-
test/test_structure_description.py
547-
test/test_structure_field.py
548-
test/test_structure_type.py
549-
test/test_subscription_acknowledgement.py
550-
test/test_timestamps_to_return.py
551-
test/test_transfer_result.py
552-
test/test_transfer_subscriptions_request.py
553-
test/test_transfer_subscriptions_response.py
554-
test/test_translate_browse_paths_to_node_ids_request.py
555-
test/test_translate_browse_paths_to_node_ids_response.py
556-
test/test_unregister_nodes_request.py
557-
test/test_unregister_nodes_response.py
558-
test/test_update_data_details.py
559-
test/test_update_event_details.py
560-
test/test_update_structure_data_details.py
561-
test/test_user_identity_token.py
562-
test/test_user_name_identity_token.py
563-
test/test_user_token_policy.py
564-
test/test_user_token_type.py
565-
test/test_variant.py
566-
test/test_view_description.py
567-
test/test_write_request.py
568-
test/test_write_response.py
569-
test/test_write_value.py
570-
test/test_writer_group_data_type.py
571-
test/test_x509_identity_token.py
572386
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.1
1+
7.9.0

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.7"
54
- "3.8"
65
- "3.9"
76
- "3.10"
87
- "3.11"
8+
- "3.12"
99
# uncomment the following if needed
10-
#- "3.11-dev" # 3.11 development branch
10+
#- "3.12-dev" # 3.12 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# opcua-webapi
2-
This API provides simple HTTPS based access to an OPC UA server.
2+
Provides simple HTTPS based access to an OPC UA server.
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 1.05.4
77
- Package version: 1.504.0
8+
- Generator version: 7.9.0
89
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
910

1011
## Requirements.
@@ -50,7 +51,6 @@ Please follow the [installation procedure](#installation--usage) and then run th
5051

5152
```python
5253

53-
import time
5454
import opcua_webapi
5555
from opcua_webapi.rest import ApiException
5656
from pprint import pprint
@@ -224,7 +224,6 @@ Class | Method | HTTP request | Description
224224
- [MonitoredItemNotification](docs/MonitoredItemNotification.md)
225225
- [MonitoringMode](docs/MonitoringMode.md)
226226
- [MonitoringParameters](docs/MonitoringParameters.md)
227-
- [NetworkAddressDataType](docs/NetworkAddressDataType.md)
228227
- [NodeClass](docs/NodeClass.md)
229228
- [NotificationMessage](docs/NotificationMessage.md)
230229
- [PerformUpdateType](docs/PerformUpdateType.md)

docs/ActivateSessionRequest.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
## Properties
5+
56
Name | Type | Description | Notes
67
------------ | ------------- | ------------- | -------------
78
**request_header** | [**RequestHeader**](RequestHeader.md) | | [optional]
@@ -21,12 +22,12 @@ json = "{}"
2122
# create an instance of ActivateSessionRequest from a JSON string
2223
activate_session_request_instance = ActivateSessionRequest.from_json(json)
2324
# print the JSON string representation of the object
24-
print ActivateSessionRequest.to_json()
25+
print(ActivateSessionRequest.to_json())
2526

2627
# convert the object into a dict
2728
activate_session_request_dict = activate_session_request_instance.to_dict()
2829
# create an instance of ActivateSessionRequest from a dict
29-
activate_session_request_form_dict = activate_session_request.from_dict(activate_session_request_dict)
30+
activate_session_request_from_dict = ActivateSessionRequest.from_dict(activate_session_request_dict)
3031
```
3132
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3233

docs/ActivateSessionResponse.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
## Properties
5+
56
Name | Type | Description | Notes
67
------------ | ------------- | ------------- | -------------
78
**response_header** | [**ResponseHeader**](ResponseHeader.md) | | [optional]
@@ -19,12 +20,12 @@ json = "{}"
1920
# create an instance of ActivateSessionResponse from a JSON string
2021
activate_session_response_instance = ActivateSessionResponse.from_json(json)
2122
# print the JSON string representation of the object
22-
print ActivateSessionResponse.to_json()
23+
print(ActivateSessionResponse.to_json())
2324

2425
# convert the object into a dict
2526
activate_session_response_dict = activate_session_response_instance.to_dict()
2627
# create an instance of ActivateSessionResponse from a dict
27-
activate_session_response_form_dict = activate_session_response.from_dict(activate_session_response_dict)
28+
activate_session_response_from_dict = ActivateSessionResponse.from_dict(activate_session_response_dict)
2829
```
2930
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3031

docs/AggregateConfiguration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
## Properties
5+
56
Name | Type | Description | Notes
67
------------ | ------------- | ------------- | -------------
78
**use_server_capabilities_defaults** | **bool** | | [optional]
@@ -20,12 +21,12 @@ json = "{}"
2021
# create an instance of AggregateConfiguration from a JSON string
2122
aggregate_configuration_instance = AggregateConfiguration.from_json(json)
2223
# print the JSON string representation of the object
23-
print AggregateConfiguration.to_json()
24+
print(AggregateConfiguration.to_json())
2425

2526
# convert the object into a dict
2627
aggregate_configuration_dict = aggregate_configuration_instance.to_dict()
2728
# create an instance of AggregateConfiguration from a dict
28-
aggregate_configuration_form_dict = aggregate_configuration.from_dict(aggregate_configuration_dict)
29+
aggregate_configuration_from_dict = AggregateConfiguration.from_dict(aggregate_configuration_dict)
2930
```
3031
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3132

0 commit comments

Comments
 (0)