Skip to content

Commit d51f191

Browse files
f-wrightclaude
andcommitted
Update OpenAPI generator from 5.4.0 to 7.18.0
Upgrade the openapi-generator-cli version and regenerate the SDK. The new generator version includes improvements to Python client generation including better type hints and updated templates. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 02ad98a commit d51f191

163 files changed

Lines changed: 15290 additions & 4658 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: groundlight_openapi_client Python package
7+
8+
on: [push, pull_request]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
build:
15+
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install -r requirements.txt
31+
pip install -r test-requirements.txt
32+
- name: Test with pytest
33+
run: |
34+
pytest --cov=groundlight_openapi_client

generated/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ docs/_build/
6262
# PyBuilder
6363
target/
6464

65-
#Ipython Notebook
65+
# Ipython Notebook
6666
.ipynb_checkpoints

generated/.openapi-generator/FILES

Lines changed: 79 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
.github/workflows/python.yml
12
.gitignore
23
README.md
3-
docs/AccountMonthToDateInfo.md
44
docs/Action.md
5-
docs/ActionList.md
65
docs/ActionsApi.md
76
docs/AllNotes.md
87
docs/AnnotationsRequestedEnum.md
@@ -18,8 +17,7 @@ docs/Condition.md
1817
docs/ConditionRequest.md
1918
docs/CountModeConfiguration.md
2019
docs/CountingResult.md
21-
docs/Detector.md
22-
docs/DetectorCreationInputRequest.md
20+
docs/DetectorCreationInputRequestModeConfiguration.md
2321
docs/DetectorGroup.md
2422
docs/DetectorGroupRequest.md
2523
docs/DetectorGroupsApi.md
@@ -29,15 +27,14 @@ docs/DetectorsApi.md
2927
docs/EdgeApi.md
3028
docs/EdgeModelInfo.md
3129
docs/EscalationTypeEnum.md
30+
docs/GetDetectorEvaluation200Response.md
31+
docs/GetDetectorEvaluation200ResponseEvaluationResults.md
32+
docs/GetDetectorMetrics200Response.md
33+
docs/GetDetectorMetrics200ResponseSummary.md
34+
docs/GetDetectorMetrics200ResponseSummaryClassCounts.md
3235
docs/ImageQueriesApi.md
33-
docs/ImageQuery.md
36+
docs/ImageQueryResult.md
3437
docs/ImageQueryTypeEnum.md
35-
docs/InlineResponse200.md
36-
docs/InlineResponse2001.md
37-
docs/InlineResponse2001EvaluationResults.md
38-
docs/InlineResponse2002.md
39-
docs/InlineResponse200Summary.md
40-
docs/InlineResponse200SummaryClassCounts.md
4138
docs/Label.md
4239
docs/LabelValue.md
4340
docs/LabelValueRequest.md
@@ -52,13 +49,13 @@ docs/NotesApi.md
5249
docs/PaginatedDetectorList.md
5350
docs/PaginatedImageQueryList.md
5451
docs/PaginatedRuleList.md
55-
docs/PatchedDetectorRequest.md
5652
docs/PayloadTemplate.md
5753
docs/PayloadTemplateRequest.md
5854
docs/ROI.md
5955
docs/ROIRequest.md
6056
docs/ResultTypeEnum.md
6157
docs/Rule.md
58+
docs/RuleAction.md
6259
docs/RuleRequest.md
6360
docs/SnoozeTimeUnitEnum.md
6461
docs/Source.md
@@ -70,6 +67,7 @@ docs/UserApi.md
7067
docs/VerbEnum.md
7168
docs/WebhookAction.md
7269
docs/WebhookActionRequest.md
70+
docs/WhoAmI200Response.md
7371
git_push.sh
7472
groundlight_openapi_client/__init__.py
7573
groundlight_openapi_client/api/__init__.py
@@ -84,76 +82,82 @@ groundlight_openapi_client/api/month_to_date_account_info_api.py
8482
groundlight_openapi_client/api/notes_api.py
8583
groundlight_openapi_client/api/user_api.py
8684
groundlight_openapi_client/api_client.py
87-
groundlight_openapi_client/apis/__init__.py
85+
groundlight_openapi_client/api_response.py
8886
groundlight_openapi_client/configuration.py
8987
groundlight_openapi_client/exceptions.py
90-
groundlight_openapi_client/model/__init__.py
91-
groundlight_openapi_client/model/account_month_to_date_info.py
92-
groundlight_openapi_client/model/action.py
93-
groundlight_openapi_client/model/action_list.py
94-
groundlight_openapi_client/model/all_notes.py
95-
groundlight_openapi_client/model/annotations_requested_enum.py
96-
groundlight_openapi_client/model/b_box_geometry.py
97-
groundlight_openapi_client/model/b_box_geometry_request.py
98-
groundlight_openapi_client/model/binary_classification_result.py
99-
groundlight_openapi_client/model/blank_enum.py
100-
groundlight_openapi_client/model/bounding_box_label_enum.py
101-
groundlight_openapi_client/model/bounding_box_mode_configuration.py
102-
groundlight_openapi_client/model/bounding_box_result.py
103-
groundlight_openapi_client/model/channel_enum.py
104-
groundlight_openapi_client/model/condition.py
105-
groundlight_openapi_client/model/condition_request.py
106-
groundlight_openapi_client/model/count_mode_configuration.py
107-
groundlight_openapi_client/model/counting_result.py
108-
groundlight_openapi_client/model/detector.py
109-
groundlight_openapi_client/model/detector_creation_input_request.py
110-
groundlight_openapi_client/model/detector_group.py
111-
groundlight_openapi_client/model/detector_group_request.py
112-
groundlight_openapi_client/model/detector_type_enum.py
113-
groundlight_openapi_client/model/edge_model_info.py
114-
groundlight_openapi_client/model/escalation_type_enum.py
115-
groundlight_openapi_client/model/image_query.py
116-
groundlight_openapi_client/model/image_query_type_enum.py
117-
groundlight_openapi_client/model/inline_response200.py
118-
groundlight_openapi_client/model/inline_response2001.py
119-
groundlight_openapi_client/model/inline_response2001_evaluation_results.py
120-
groundlight_openapi_client/model/inline_response2002.py
121-
groundlight_openapi_client/model/inline_response200_summary.py
122-
groundlight_openapi_client/model/inline_response200_summary_class_counts.py
123-
groundlight_openapi_client/model/label.py
124-
groundlight_openapi_client/model/label_value.py
125-
groundlight_openapi_client/model/label_value_request.py
126-
groundlight_openapi_client/model/mode_enum.py
127-
groundlight_openapi_client/model/multi_class_mode_configuration.py
128-
groundlight_openapi_client/model/multi_classification_result.py
129-
groundlight_openapi_client/model/note.py
130-
groundlight_openapi_client/model/note_request.py
131-
groundlight_openapi_client/model/paginated_detector_list.py
132-
groundlight_openapi_client/model/paginated_image_query_list.py
133-
groundlight_openapi_client/model/paginated_rule_list.py
134-
groundlight_openapi_client/model/patched_detector_request.py
135-
groundlight_openapi_client/model/payload_template.py
136-
groundlight_openapi_client/model/payload_template_request.py
137-
groundlight_openapi_client/model/result_type_enum.py
138-
groundlight_openapi_client/model/roi.py
139-
groundlight_openapi_client/model/roi_request.py
140-
groundlight_openapi_client/model/rule.py
141-
groundlight_openapi_client/model/rule_request.py
142-
groundlight_openapi_client/model/snooze_time_unit_enum.py
143-
groundlight_openapi_client/model/source.py
144-
groundlight_openapi_client/model/source_enum.py
145-
groundlight_openapi_client/model/status_enum.py
146-
groundlight_openapi_client/model/text_mode_configuration.py
147-
groundlight_openapi_client/model/text_recognition_result.py
148-
groundlight_openapi_client/model/verb_enum.py
149-
groundlight_openapi_client/model/webhook_action.py
150-
groundlight_openapi_client/model/webhook_action_request.py
151-
groundlight_openapi_client/model_utils.py
15288
groundlight_openapi_client/models/__init__.py
89+
groundlight_openapi_client/models/action.py
90+
groundlight_openapi_client/models/all_notes.py
91+
groundlight_openapi_client/models/annotations_requested_enum.py
92+
groundlight_openapi_client/models/b_box_geometry.py
93+
groundlight_openapi_client/models/b_box_geometry_request.py
94+
groundlight_openapi_client/models/binary_classification_result.py
95+
groundlight_openapi_client/models/blank_enum.py
96+
groundlight_openapi_client/models/bounding_box_label_enum.py
97+
groundlight_openapi_client/models/bounding_box_mode_configuration.py
98+
groundlight_openapi_client/models/bounding_box_result.py
99+
groundlight_openapi_client/models/channel_enum.py
100+
groundlight_openapi_client/models/condition.py
101+
groundlight_openapi_client/models/condition_request.py
102+
groundlight_openapi_client/models/count_mode_configuration.py
103+
groundlight_openapi_client/models/counting_result.py
104+
groundlight_openapi_client/models/detector_creation_input_request_mode_configuration.py
105+
groundlight_openapi_client/models/detector_group.py
106+
groundlight_openapi_client/models/detector_group_request.py
107+
groundlight_openapi_client/models/detector_type_enum.py
108+
groundlight_openapi_client/models/edge_model_info.py
109+
groundlight_openapi_client/models/escalation_type_enum.py
110+
groundlight_openapi_client/models/get_detector_evaluation200_response.py
111+
groundlight_openapi_client/models/get_detector_evaluation200_response_evaluation_results.py
112+
groundlight_openapi_client/models/get_detector_metrics200_response.py
113+
groundlight_openapi_client/models/get_detector_metrics200_response_summary.py
114+
groundlight_openapi_client/models/get_detector_metrics200_response_summary_class_counts.py
115+
groundlight_openapi_client/models/image_query_result.py
116+
groundlight_openapi_client/models/image_query_type_enum.py
117+
groundlight_openapi_client/models/label.py
118+
groundlight_openapi_client/models/label_value.py
119+
groundlight_openapi_client/models/label_value_request.py
120+
groundlight_openapi_client/models/mode_enum.py
121+
groundlight_openapi_client/models/multi_class_mode_configuration.py
122+
groundlight_openapi_client/models/multi_classification_result.py
123+
groundlight_openapi_client/models/note.py
124+
groundlight_openapi_client/models/note_request.py
125+
groundlight_openapi_client/models/paginated_detector_list.py
126+
groundlight_openapi_client/models/paginated_image_query_list.py
127+
groundlight_openapi_client/models/paginated_rule_list.py
128+
groundlight_openapi_client/models/payload_template.py
129+
groundlight_openapi_client/models/payload_template_request.py
130+
groundlight_openapi_client/models/result_type_enum.py
131+
groundlight_openapi_client/models/roi.py
132+
groundlight_openapi_client/models/roi_request.py
133+
groundlight_openapi_client/models/rule.py
134+
groundlight_openapi_client/models/rule_action.py
135+
groundlight_openapi_client/models/rule_request.py
136+
groundlight_openapi_client/models/snooze_time_unit_enum.py
137+
groundlight_openapi_client/models/source.py
138+
groundlight_openapi_client/models/source_enum.py
139+
groundlight_openapi_client/models/status_enum.py
140+
groundlight_openapi_client/models/text_mode_configuration.py
141+
groundlight_openapi_client/models/text_recognition_result.py
142+
groundlight_openapi_client/models/verb_enum.py
143+
groundlight_openapi_client/models/webhook_action.py
144+
groundlight_openapi_client/models/webhook_action_request.py
145+
groundlight_openapi_client/models/who_am_i200_response.py
146+
groundlight_openapi_client/py.typed
153147
groundlight_openapi_client/rest.py
148+
pyproject.toml
154149
requirements.txt
155150
setup.cfg
156151
setup.py
157152
test-requirements.txt
158153
test/__init__.py
154+
test/test_detector_creation_input_request_mode_configuration.py
155+
test/test_get_detector_evaluation200_response.py
156+
test/test_get_detector_evaluation200_response_evaluation_results.py
157+
test/test_get_detector_metrics200_response.py
158+
test/test_get_detector_metrics200_response_summary.py
159+
test/test_get_detector_metrics200_response_summary_class_counts.py
160+
test/test_image_query_result.py
161+
test/test_rule_action.py
162+
test/test_who_am_i200_response.py
159163
tox.ini
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.4.0
1+
7.18.0

0 commit comments

Comments
 (0)