oe-python-template-example 0.1.1__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.copier-answers.yml +1 -1
  2. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/PKG-INFO +5 -1
  3. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/README.md +4 -0
  4. oe_python_template_example-0.1.4/VERSION +1 -0
  5. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/_readme_header.md +4 -0
  6. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi_v1.json +4 -4
  7. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi_v1.yaml +8 -14
  8. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi_v2.json +5 -5
  9. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi_v2.yaml +9 -15
  10. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/api_v2.rst +1 -1
  11. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/conf.py +1 -1
  12. oe_python_template_example-0.1.4/examples/notebook.ipynb +46 -0
  13. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/pyproject.toml +6 -9
  14. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/sonar-project.properties +1 -1
  15. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/src/oe_python_template_example/api.py +3 -15
  16. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/uv.lock +1 -1
  17. oe_python_template_example-0.1.1/VERSION +0 -1
  18. oe_python_template_example-0.1.1/examples/notebook.ipynb +0 -46
  19. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.act-env-public +0 -0
  20. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.devcontainer/Dockerfile +0 -0
  21. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.devcontainer/devcontainer.json +0 -0
  22. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.devcontainer/onCreateCommand +0 -0
  23. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.devcontainer/postAttachCommand +0 -0
  24. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.devcontainer/postCreateCommand +0 -0
  25. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.env.example +0 -0
  26. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.github/workflows/docker-image-build-publish.yml +0 -0
  27. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.github/workflows/package-build-publish-release.yml +0 -0
  28. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.github/workflows/test-and-report.yml +0 -0
  29. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.gitignore +0 -0
  30. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.pre-commit-config.yaml +0 -0
  31. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.python-version +0 -0
  32. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.readthedocs.yml +0 -0
  33. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.secrets.baseline +0 -0
  34. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.vscode/extensions.json +0 -0
  35. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/.vscode/settings.json +0 -0
  36. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/CHANGELOG.md +0 -0
  37. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/CODEOWNERS +0 -0
  38. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/CONTRIBUTING.md +0 -0
  39. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/Dockerfile +0 -0
  40. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/LICENSE +0 -0
  41. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/RELEASE_NOTES.md +0 -0
  42. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/SERVICE_CONNECTIONS.md +0 -0
  43. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/_readme_footer.md +0 -0
  44. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/_readme_main.md +0 -0
  45. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/bin/git-cliff +0 -0
  46. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/bump +0 -0
  47. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/codecov.yml +0 -0
  48. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/compose.yaml +0 -0
  49. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/Makefile +0 -0
  50. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/make.bat +0 -0
  51. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/.keep +0 -0
  52. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi.json +0 -0
  53. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/_static/openapi.yaml +0 -0
  54. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/api_v1.rst +0 -0
  55. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/contributing.rst +0 -0
  56. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/index.rst +0 -0
  57. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/latexmkrc +0 -0
  58. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/main.rst +0 -0
  59. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/reference.rst +0 -0
  60. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/docs/source/release-notes.rst +0 -0
  61. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/examples/__init__.py +0 -0
  62. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/examples/notebook.py +0 -0
  63. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/examples/script.py +0 -0
  64. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/examples/streamlit.py +0 -0
  65. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/CHANGELOG.md +0 -0
  66. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
  67. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/LICENSE-MIT +0 -0
  68. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/README.md +0 -0
  69. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/completions/_git-cliff +0 -0
  70. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
  71. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
  72. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
  73. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
  74. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/git-cliff-completions +0 -0
  75. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/git-cliff-mangen +0 -0
  76. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
  77. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
  78. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/github-action-run +0 -0
  79. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/latexmkrc +0 -0
  80. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/logo.png +0 -0
  81. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/noxfile.py +0 -0
  82. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/renovate.json +0 -0
  83. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/src/oe_python_template_example/__init__.py +0 -0
  84. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/src/oe_python_template_example/cli.py +0 -0
  85. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/src/oe_python_template_example/constants.py +0 -0
  86. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/src/oe_python_template_example/service.py +0 -0
  87. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/tests/__init__.py +0 -0
  88. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/tests/api_test.py +0 -0
  89. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/tests/cli_test.py +0 -0
  90. {oe_python_template_example-0.1.1 → oe_python_template_example-0.1.4}/tests/fixtures/.keep +0 -0
@@ -1,4 +1,4 @@
1
- _commit: v0.4.3
1
+ _commit: v0.4.5
2
2
  _src_path: gh:helmut-hoffer-von-ankershoffen/oe-python-template
3
3
  author_email: helmuthva@gmail.com
4
4
  author_github_username: helmut-hoffer-von-ankershoffen
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template-example
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: 🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  Project-URL: Homepage, https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template-example.readthedocs.io/en/latest/
@@ -91,6 +91,10 @@ Description-Content-Type: text/markdown
91
91
 
92
92
  > [!TIP]
93
93
  > 📚 [Online documentation](https://oe-python-template-example.readthedocs.io/en/latest/) - 📖 [PDF Manual](https://oe-python-template-example.readthedocs.io/_/downloads/en/latest/pdf/)
94
+
95
+ > [!NOTE]
96
+ > 🧠 This project was scaffolded using the template [oe-python-template](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template) with [copier](https://copier.readthedocs.io/).
97
+
94
98
  ---
95
99
 
96
100
 
@@ -30,6 +30,10 @@
30
30
 
31
31
  > [!TIP]
32
32
  > 📚 [Online documentation](https://oe-python-template-example.readthedocs.io/en/latest/) - 📖 [PDF Manual](https://oe-python-template-example.readthedocs.io/_/downloads/en/latest/pdf/)
33
+
34
+ > [!NOTE]
35
+ > 🧠 This project was scaffolded using the template [oe-python-template](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template) with [copier](https://copier.readthedocs.io/).
36
+
33
37
  ---
34
38
 
35
39
 
@@ -0,0 +1 @@
1
+ 0.1.4
@@ -30,4 +30,8 @@
30
30
 
31
31
  > [!TIP]
32
32
  > 📚 [Online documentation](https://oe-python-template-example.readthedocs.io/en/latest/) - 📖 [PDF Manual](https://oe-python-template-example.readthedocs.io/_/downloads/en/latest/pdf/)
33
+
34
+ > [!NOTE]
35
+ > 🧠 This project was scaffolded using the template [oe-python-template](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template) with [copier](https://copier.readthedocs.io/).
36
+
33
37
  ---
@@ -17,7 +17,7 @@
17
17
  "Observability"
18
18
  ],
19
19
  "summary": "Health",
20
- "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nArgs:\n service (Annotated[Service, Depends): _description_\n response (Response): _description_\n\nReturns:\n Health: The health status of the service.",
20
+ "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
21
21
  "operationId": "health_health_get",
22
22
  "responses": {
23
23
  "200": {
@@ -39,7 +39,7 @@
39
39
  "Observability"
40
40
  ],
41
41
  "summary": "Health",
42
- "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nArgs:\n service (Annotated[Service, Depends): _description_\n response (Response): _description_\n\nReturns:\n Health: The health status of the service.",
42
+ "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
43
43
  "operationId": "health_healthz_get",
44
44
  "responses": {
45
45
  "200": {
@@ -195,7 +195,7 @@
195
195
  "status"
196
196
  ],
197
197
  "title": "Health",
198
- "description": "Health status model.\n\nArgs:\n BaseModel (_type_): _description_"
198
+ "description": "Health status model."
199
199
  },
200
200
  "HelloWorldResponse": {
201
201
  "properties": {
@@ -255,7 +255,7 @@
255
255
  "DOWN"
256
256
  ],
257
257
  "title": "_HealthStatus",
258
- "description": "Health status enumeration.\n\nArgs:\n StrEnum (_type_): _description_"
258
+ "description": "Health status enumeration."
259
259
  }
260
260
  }
261
261
  }
@@ -38,8 +38,7 @@ components:
38
38
  title: HTTPValidationError
39
39
  type: object
40
40
  Health:
41
- description: "Health status model.\n\nArgs:\n BaseModel (_type_):
42
- _description_"
41
+ description: Health status model.
43
42
  properties:
44
43
  reason:
45
44
  anyOf:
@@ -87,8 +86,7 @@ _description_"
87
86
  title: ValidationError
88
87
  type: object
89
88
  _HealthStatus:
90
- description: "Health status enumeration.\n\nArgs:\n StrEnum (_type_):
91
- _description_"
89
+ description: Health status enumeration.
92
90
  enum:
93
91
  - UP
94
92
  - DOWN
@@ -148,11 +146,9 @@ unhealthy,\
148
146
  will\
149
147
  \ have a 200 OK status code if the service is healthy,\nand a 500
150
148
  Internal\
151
- \ Server Error status code if the service is unhealthy.\n\nArgs:\n
152
- service\
153
- \ (Annotated[Service, Depends): _description_\n response (Response):
154
- _description_\n\
155
- \nReturns:\n Health: The health status of the service."
149
+ \ Server Error status code if the service is unhealthy.\n\nReturns:\n
150
+ Health:\
151
+ \ The health status of the service."
156
152
  operationId: health_health_get
157
153
  responses:
158
154
  '200':
@@ -176,11 +172,9 @@ unhealthy,\
176
172
  will\
177
173
  \ have a 200 OK status code if the service is healthy,\nand a 500
178
174
  Internal\
179
- \ Server Error status code if the service is unhealthy.\n\nArgs:\n
180
- service\
181
- \ (Annotated[Service, Depends): _description_\n response (Response):
182
- _description_\n\
183
- \nReturns:\n Health: The health status of the service."
175
+ \ Server Error status code if the service is unhealthy.\n\nReturns:\n
176
+ Health:\
177
+ \ The health status of the service."
184
178
  operationId: health_healthz_get
185
179
  responses:
186
180
  '200':
@@ -17,7 +17,7 @@
17
17
  "Observability"
18
18
  ],
19
19
  "summary": "Health",
20
- "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nArgs:\n service (Annotated[Service, Depends): _description_\n response (Response): _description_\n\nReturns:\n Health: The health status of the service.",
20
+ "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
21
21
  "operationId": "health_health_get",
22
22
  "responses": {
23
23
  "200": {
@@ -39,7 +39,7 @@
39
39
  "Observability"
40
40
  ],
41
41
  "summary": "Health",
42
- "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nArgs:\n service (Annotated[Service, Depends): _description_\n response (Response): _description_\n\nReturns:\n Health: The health status of the service.",
42
+ "description": "Check the health of the service.\n\nThis endpoint returns the health status of the service.\nThe health status can be either UP or DOWN.\nIf the service is healthy, the status will be UP.\nIf the service is unhealthy, the status will be DOWN and a reason will be provided.\nThe response will have a 200 OK status code if the service is healthy,\nand a 500 Internal Server Error status code if the service is unhealthy.\n\nReturns:\n Health: The health status of the service.",
43
43
  "operationId": "health_healthz_get",
44
44
  "responses": {
45
45
  "200": {
@@ -83,7 +83,7 @@
83
83
  "Basics"
84
84
  ],
85
85
  "summary": "Echo V2",
86
- "description": "Echo back the provided utterance.\n\nArgs:\n request (EchoRequestV2): The request containing the utterance to echo back.\n\nReturns:\n EchoResponse: A response containing the echoed utterance.\n\nRaises:\n 422 Unprocessable Entity: If utterance is not provided or empty.",
86
+ "description": "Echo back the provided utterance.\n\nArgs:\n request (Utterance): The request containing the utterance to echo back.\n\nReturns:\n EchoResponse: A response containing the echoed utterance.\n\nRaises:\n 422 Unprocessable Entity: If utterance is not provided or empty.",
87
87
  "operationId": "echo_v2_echo_post",
88
88
  "requestBody": {
89
89
  "content": {
@@ -176,7 +176,7 @@
176
176
  "status"
177
177
  ],
178
178
  "title": "Health",
179
- "description": "Health status model.\n\nArgs:\n BaseModel (_type_): _description_"
179
+ "description": "Health status model."
180
180
  },
181
181
  "HelloWorldResponse": {
182
182
  "properties": {
@@ -255,7 +255,7 @@
255
255
  "DOWN"
256
256
  ],
257
257
  "title": "_HealthStatus",
258
- "description": "Health status enumeration.\n\nArgs:\n StrEnum (_type_): _description_"
258
+ "description": "Health status enumeration."
259
259
  }
260
260
  }
261
261
  }
@@ -24,8 +24,7 @@ components:
24
24
  title: HTTPValidationError
25
25
  type: object
26
26
  Health:
27
- description: "Health status model.\n\nArgs:\n BaseModel (_type_):
28
- _description_"
27
+ description: Health status model.
29
28
  properties:
30
29
  reason:
31
30
  anyOf:
@@ -87,8 +86,7 @@ _description_"
87
86
  title: ValidationError
88
87
  type: object
89
88
  _HealthStatus:
90
- description: "Health status enumeration.\n\nArgs:\n StrEnum (_type_):
91
- _description_"
89
+ description: Health status enumeration.
92
90
  enum:
93
91
  - UP
94
92
  - DOWN
@@ -107,7 +105,7 @@ paths:
107
105
  /echo:
108
106
  post:
109
107
  description: "Echo back the provided utterance.\n\nArgs:\n request
110
- (EchoRequestV2):\
108
+ (Utterance):\
111
109
  \ The request containing the utterance to echo back.\n\nReturns:\n
112
110
  EchoResponse:\
113
111
  \ A response containing the echoed utterance.\n\nRaises:\n 422
@@ -148,11 +146,9 @@ unhealthy,\
148
146
  will\
149
147
  \ have a 200 OK status code if the service is healthy,\nand a 500
150
148
  Internal\
151
- \ Server Error status code if the service is unhealthy.\n\nArgs:\n
152
- service\
153
- \ (Annotated[Service, Depends): _description_\n response (Response):
154
- _description_\n\
155
- \nReturns:\n Health: The health status of the service."
149
+ \ Server Error status code if the service is unhealthy.\n\nReturns:\n
150
+ Health:\
151
+ \ The health status of the service."
156
152
  operationId: health_health_get
157
153
  responses:
158
154
  '200':
@@ -176,11 +172,9 @@ unhealthy,\
176
172
  will\
177
173
  \ have a 200 OK status code if the service is healthy,\nand a 500
178
174
  Internal\
179
- \ Server Error status code if the service is unhealthy.\n\nArgs:\n
180
- service\
181
- \ (Annotated[Service, Depends): _description_\n response (Response):
182
- _description_\n\
183
- \nReturns:\n Health: The health status of the service."
175
+ \ Server Error status code if the service is unhealthy.\n\nReturns:\n
176
+ Health:\
177
+ \ The health status of the service."
184
178
  operationId: health_healthz_get
185
179
  responses:
186
180
  '200':
@@ -1,4 +1,4 @@
1
- API V1
1
+ API V2
2
2
  ======
3
3
 
4
4
  .. swagger-plugin:: _static/openapi_v2.yaml
@@ -26,7 +26,7 @@ extensions = [
26
26
  project = "oe-python-template-example"
27
27
  author = "Helmut Hoffer von Ankershoffen"
28
28
  copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
29
- version = "0.1.1"
29
+ version = "0.1.4"
30
30
  release = version
31
31
  github_username = "helmut-hoffer-von-ankershoffen"
32
32
  github_repository = "oe-python-template-example"
@@ -0,0 +1,46 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stdout",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "Hello, world! The value of THE_VAR is not defined\n"
13
+ ]
14
+ }
15
+ ],
16
+ "source": [
17
+ "from oe_python_template import Service\n",
18
+ "\n",
19
+ "service = Service()\n",
20
+ "message = service.get_hello_world()\n",
21
+ "message"
22
+ ]
23
+ }
24
+ ],
25
+ "metadata": {
26
+ "kernelspec": {
27
+ "display_name": ".venv",
28
+ "language": "python",
29
+ "name": "python3"
30
+ },
31
+ "language_info": {
32
+ "codemirror_mode": {
33
+ "name": "ipython",
34
+ "version": 3
35
+ },
36
+ "file_extension": ".py",
37
+ "mimetype": "text/x-python",
38
+ "name": "python",
39
+ "nbconvert_exporter": "python",
40
+ "pygments_lexer": "ipython3",
41
+ "version": "3.11.6"
42
+ }
43
+ },
44
+ "nbformat": 4,
45
+ "nbformat_minor": 2
46
+ }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template-example"
3
- version = "0.1.1"
3
+ version = "0.1.4"
4
4
  description = "🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template)."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -134,10 +134,7 @@ target-version = "py311"
134
134
  preview = true
135
135
  fix = true
136
136
  line-length = 120
137
- extend-exclude = [
138
- ".fixme",
139
- "notebook.py"
140
- ]
137
+ extend-exclude = [".fixme", "notebook.py"]
141
138
 
142
139
 
143
140
  [tool.ruff.lint]
@@ -191,7 +188,7 @@ ignore = [
191
188
  [tool.ruff.lint.extend-per-file-ignores]
192
189
  "examples/notebook.py" = [
193
190
  # we are more relaxed in notebooks, while sill applying hundreds of rules
194
- "B018", # notebooks surface variable without print
191
+ "B018", # notebooks surface variable without print
195
192
  ]
196
193
 
197
194
  [tool.ruff.format]
@@ -200,7 +197,7 @@ docstring-code-format = true
200
197
  [tool.ruff.lint.pydocstyle]
201
198
  convention = "google"
202
199
 
203
- [tool.mypy] # https://mypy.readthedocs.io/en/latest/config_file.html
200
+ [tool.mypy] # https://mypy.readthedocs.io/en/latest/config_file.html
204
201
  junit_xml = "mypi_junit.xml"
205
202
  plugins = "pydantic.mypy"
206
203
  strict = true
@@ -213,7 +210,7 @@ show_error_codes = true
213
210
  show_error_context = true
214
211
  warn_unreachable = true
215
212
 
216
- [tool.pydantic-mypy] # https://docs.pydantic.dev/latest/integrations/mypy/#configuring-the-plugin
213
+ [tool.pydantic-mypy] # https://docs.pydantic.dev/latest/integrations/mypy/#configuring-the-plugin
217
214
  init_forbid_extra = true
218
215
  init_typed = true
219
216
  warn_required_dynamic_aliases = true
@@ -245,7 +242,7 @@ source = ["src/"]
245
242
 
246
243
 
247
244
  [tool.bumpversion]
248
- current_version = "0.1.1"
245
+ current_version = "0.1.4"
249
246
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
250
247
  serialize = ["{major}.{minor}.{patch}"]
251
248
  search = "{current_version}"
@@ -1,6 +1,6 @@
1
1
  sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template-example
2
2
  sonar.organization=helmut-hoffer-von-ankershoffen
3
- sonar.projectVersion=0.1.1
3
+ sonar.projectVersion=0.1.4
4
4
  sonar.projectDescription=🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  sonar.links.homepage=https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example
@@ -90,22 +90,14 @@ api_v2 = FastAPI(
90
90
 
91
91
 
92
92
  class _HealthStatus(StrEnum):
93
- """Health status enumeration.
94
-
95
- Args:
96
- StrEnum (_type_): _description_
97
- """
93
+ """Health status enumeration."""
98
94
 
99
95
  UP = "UP"
100
96
  DOWN = "DOWN"
101
97
 
102
98
 
103
99
  class Health(BaseModel):
104
- """Health status model.
105
-
106
- Args:
107
- BaseModel (_type_): _description_
108
- """
100
+ """Health status model."""
109
101
 
110
102
  status: _HealthStatus
111
103
  reason: str | None = None
@@ -135,10 +127,6 @@ async def health(service: Annotated[Service, Depends(get_service)], response: Re
135
127
  The response will have a 200 OK status code if the service is healthy,
136
128
  and a 500 Internal Server Error status code if the service is unhealthy.
137
129
 
138
- Args:
139
- service (Annotated[Service, Depends): _description_
140
- response (Response): _description_
141
-
142
130
  Returns:
143
131
  Health: The health status of the service.
144
132
  """
@@ -231,7 +219,7 @@ async def echo_v2(request: Utterance) -> EchoResponse:
231
219
  Echo back the provided utterance.
232
220
 
233
221
  Args:
234
- request (EchoRequestV2): The request containing the utterance to echo back.
222
+ request (Utterance): The request containing the utterance to echo back.
235
223
 
236
224
  Returns:
237
225
  EchoResponse: A response containing the echoed utterance.
@@ -2075,7 +2075,7 @@ wheels = [
2075
2075
 
2076
2076
  [[package]]
2077
2077
  name = "oe-python-template-example"
2078
- version = "0.1.1"
2078
+ version = "0.1.4"
2079
2079
  source = { editable = "." }
2080
2080
  dependencies = [
2081
2081
  { name = "fastapi", extra = ["all", "standard"] },
@@ -1 +0,0 @@
1
- 0.1.1
@@ -1,46 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": 1,
6
- "metadata": {},
7
- "outputs": [
8
- {
9
- "name": "stdout",
10
- "output_type": "stream",
11
- "text": [
12
- "Hello, world! The value of THE_VAR is not defined\n"
13
- ]
14
- }
15
- ],
16
- "source": [
17
- "from oe_python_template_example import Service\n",
18
- "\n",
19
- "service = Service()\n",
20
- "message = service.get_hello_world()\n",
21
- "message"
22
- ]
23
- }
24
- ],
25
- "metadata": {
26
- "kernelspec": {
27
- "display_name": ".venv",
28
- "language": "python",
29
- "name": "python3"
30
- },
31
- "language_info": {
32
- "codemirror_mode": {
33
- "name": "ipython",
34
- "version": 3
35
- },
36
- "file_extension": ".py",
37
- "mimetype": "text/x-python",
38
- "name": "python",
39
- "nbconvert_exporter": "python",
40
- "pygments_lexer": "ipython3",
41
- "version": "3.11.6"
42
- }
43
- },
44
- "nbformat": 4,
45
- "nbformat_minor": 2
46
- }