From 1fc28f45e11489c12da0fa464ff73be2cfea31ff Mon Sep 17 00:00:00 2001 From: Mads Bisgaard Date: Thu, 18 Jul 2024 16:43:44 +0200 Subject: [PATCH] correctly import models from osparc --- tests/public-api/examples/sleeper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/public-api/examples/sleeper.py b/tests/public-api/examples/sleeper.py index 7f92f1ec7f4..bc6ceb9e038 100644 --- a/tests/public-api/examples/sleeper.py +++ b/tests/public-api/examples/sleeper.py @@ -13,9 +13,8 @@ import osparc from dotenv import load_dotenv -from osparc import UsersApi +from osparc import File, Job, JobInputs, JobOutputs, JobStatus, Solver, UsersApi from osparc.api import FilesApi, SolversApi -from osparc.models import File, Job, JobInputs, JobOutputs, JobStatus, Solver CLIENT_VERSION = tuple(map(int, osparc.__version__.split("."))) assert CLIENT_VERSION >= (0, 4, 3)