oe-python-template-example 0.1.3__py3-none-any.whl → 0.1.4__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.
@@ -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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template-example
3
- Version: 0.1.3
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/
@@ -1,10 +1,10 @@
1
1
  oe_python_template_example/__init__.py,sha256=-sCwS9lD6CvgWw88f7snBDF947PWIhEupJVebXL_w1M,314
2
- oe_python_template_example/api.py,sha256=-K3cLHgmtmnSfCIM3eyZpxL1R5KDkxFd9OvYv6Pdp4M,6647
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.3.dist-info/METADATA,sha256=vuWBWxdtyh33kzuX2yKkOpUevqm9AMaARQ0-DBIeqvQ,22153
7
- oe_python_template_example-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- oe_python_template_example-0.1.3.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
9
- oe_python_template_example-0.1.3.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
- oe_python_template_example-0.1.3.dist-info/RECORD,,
6
+ oe_python_template_example-0.1.4.dist-info/METADATA,sha256=FoXf2pvTHQbfWT_Abeq0BSKB5Qhu683neGRR4XicrA8,22153
7
+ oe_python_template_example-0.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ oe_python_template_example-0.1.4.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
9
+ oe_python_template_example-0.1.4.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
+ oe_python_template_example-0.1.4.dist-info/RECORD,,