Skip to content

Commit

Permalink
more py3.8 compatibility changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Nov 6, 2024
1 parent db2d5d2 commit 866fa8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/python/test/test_osparc/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def all_server_paths(osparc_openapi_specs: Dict[str, Any]) -> Set[ServerPath]:
def create_osparc_response_model(
osparc_openapi_specs: Dict[str, Any],
) -> Callable[[Type[T]], T]:
def _create_model(model_type: type[T]) -> T:
def _create_model(model_type: Type[T]) -> T:
schemas = osparc_openapi_specs.get("components", {}).get("schemas", {})
example_data = schemas.get(model_type.__name__, {}).get("example")
error_msg = "Could not extract example data for"
Expand Down

0 comments on commit 866fa8a

Please sign in to comment.