Skip to content

Commit 866fa8a

Browse files
committed
more py3.8 compatibility changes
1 parent db2d5d2 commit 866fa8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/python/test/test_osparc/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def all_server_paths(osparc_openapi_specs: Dict[str, Any]) -> Set[ServerPath]:
9191
def create_osparc_response_model(
9292
osparc_openapi_specs: Dict[str, Any],
9393
) -> Callable[[Type[T]], T]:
94-
def _create_model(model_type: type[T]) -> T:
94+
def _create_model(model_type: Type[T]) -> T:
9595
schemas = osparc_openapi_specs.get("components", {}).get("schemas", {})
9696
example_data = schemas.get(model_type.__name__, {}).get("example")
9797
error_msg = "Could not extract example data for"

0 commit comments

Comments
 (0)