oe-python-template-example 0.1.3__py3-none-any.whl → 0.1.5__py3-none-any.whl
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.
- oe_python_template_example/api.py +3 -15
- {oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/METADATA +3 -3
- {oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/RECORD +6 -6
- {oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/WHEEL +0 -0
- {oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/entry_points.txt +0 -0
- {oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/licenses/LICENSE +0 -0
@@ -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 (
|
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.
|
{oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oe-python-template-example
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.5
|
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/
|
@@ -55,8 +55,8 @@ Requires-Dist: typer>=0.15.1
|
|
55
55
|
Provides-Extra: examples
|
56
56
|
Requires-Dist: jinja2>=3.1.6; extra == 'examples'
|
57
57
|
Requires-Dist: jupyter>=1.1.1; extra == 'examples'
|
58
|
-
Requires-Dist: marimo>=0.11.
|
59
|
-
Requires-Dist: streamlit>=1.43.
|
58
|
+
Requires-Dist: marimo>=0.11.19; extra == 'examples'
|
59
|
+
Requires-Dist: streamlit>=1.43.2; extra == 'examples'
|
60
60
|
Description-Content-Type: text/markdown
|
61
61
|
|
62
62
|
# 🧠 OE Python Template Example
|
{oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/RECORD
RENAMED
@@ -1,10 +1,10 @@
|
|
1
1
|
oe_python_template_example/__init__.py,sha256=-sCwS9lD6CvgWw88f7snBDF947PWIhEupJVebXL_w1M,314
|
2
|
-
oe_python_template_example/api.py,sha256
|
2
|
+
oe_python_template_example/api.py,sha256=vN2a10Ph4pffsXBx9TpFe0g39lZOE-5dJat2VhMPszU,6415
|
3
3
|
oe_python_template_example/cli.py,sha256=BHuDCrzYkvJYDdvk06KwkK_sKQx7h7hhRiO0peQMM1s,3474
|
4
4
|
oe_python_template_example/constants.py,sha256=6uQHr2CRgzWQWhUQCRRKiPuFhzKB2iblZk3dIRQ5dDc,358
|
5
5
|
oe_python_template_example/service.py,sha256=XlCrklSRy8_YaYvlVYiDFPUubHHm-J8BPx2f7_niGG4,760
|
6
|
-
oe_python_template_example-0.1.
|
7
|
-
oe_python_template_example-0.1.
|
8
|
-
oe_python_template_example-0.1.
|
9
|
-
oe_python_template_example-0.1.
|
10
|
-
oe_python_template_example-0.1.
|
6
|
+
oe_python_template_example-0.1.5.dist-info/METADATA,sha256=wWMmVXZubFXctyQO6sMb5J40rb4frHGeKpq2S-RsVi8,22153
|
7
|
+
oe_python_template_example-0.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
oe_python_template_example-0.1.5.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
|
9
|
+
oe_python_template_example-0.1.5.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
10
|
+
oe_python_template_example-0.1.5.dist-info/RECORD,,
|
{oe_python_template_example-0.1.3.dist-info → oe_python_template_example-0.1.5.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|