Skip to content

Commit

Permalink
Generator 7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zdevaty committed Jul 1, 2024
1 parent 29708f8 commit 2e36c72
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -32,3 +33,6 @@ jobs:
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

- API version: 2.6.12
- Package version: 2.6.12
- Generator version: 7.5.0
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://eliona.io](https://eliona.io)

Expand Down
8 changes: 4 additions & 4 deletions eliona/api_client2/models/alarm_priority.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class AlarmPriority(int, Enum):
"""
allowed enum values
"""
NUMBER_1 = 1
NUMBER_2 = 2
NUMBER_3 = 3
NUMBER_10 = 10
ALARM_PRIORITY_HEIGHT = 1
ALARM_PRIORITY_MEDIUM = 2
ALARM_PRIORITY_LOW = 3
ALARM_PRIORITY_INFO = 10

@classmethod
def from_json(cls, json_str: str) -> Self:
Expand Down
2 changes: 1 addition & 1 deletion generate.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
docker run --rm ^
-v "%cd%":/local ^
openapitools/openapi-generator-cli:v7.5.0 ^
openapitools/openapi-generator-cli:v7.6.0 ^
generate ^
-g python ^
--git-user-id eliona-smart-building-assistant ^
Expand Down
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
docker run --rm \
-v "${PWD}:/local" \
openapitools/openapi-generator-cli:v7.5.0 \
openapitools/openapi-generator-cli:v7.6.0 \
generate \
-g python \
--git-user-id eliona-smart-building-assistant \
Expand Down

0 comments on commit 2e36c72

Please sign in to comment.