Skip to content

Commit 7c5b1bb

Browse files
committed
fixes mypy
1 parent 934b1ef commit 7c5b1bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/models-library/src/models_library/api_schemas_catalog/services_ports.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ServicePortGet(BaseModel):
2828

2929
@staticmethod
3030
def _update_json_schema_extra(schema: JsonDict) -> None:
31-
input_example = {
31+
example_input: dict[str, Any] = {
3232
"key": "input_1",
3333
"kind": "input",
3434
"content_schema": {
@@ -41,9 +41,9 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
4141
}
4242
schema.update(
4343
{
44-
"example": input_example,
44+
"example": example_input,
4545
"examples": [
46-
input_example,
46+
example_input,
4747
{
4848
"key": "output_1",
4949
"kind": "output",

0 commit comments

Comments
 (0)