Skip to content

Commit b9bcdc7

Browse files
committed
remove Annotated import from typing
1 parent e0d5f2d commit b9bcdc7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

clients/python/src/osparc/_api_solvers_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
from tempfile import NamedTemporaryFile
3030
from pathlib import Path
3131
from pydantic import validate_call
32-
from pydantic import Field, StrictStr
33-
from typing import Annotated
32+
from pydantic import StrictStr
3433

3534

3635
class SolversApi(_SolversApi):
@@ -122,8 +121,8 @@ def create_job(
122121

123122
def get_job_output_logfile(
124123
self,
125-
solver_key: Annotated[str, Field(strict=True)],
126-
version: Annotated[str, Field(strict=True)],
124+
solver_key: str,
125+
version: str,
127126
job_id: StrictStr,
128127
**kwargs,
129128
):
@@ -137,8 +136,8 @@ def get_job_output_logfile(
137136

138137
def get_job_outputs(
139138
self,
140-
solver_key: Annotated[str, Field(strict=True)],
141-
version: Annotated[str, Field(strict=True)],
139+
solver_key: str,
140+
version: str,
142141
job_id: StrictStr,
143142
**kwargs,
144143
) -> JobOutputs:

0 commit comments

Comments
 (0)