Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Nov 5, 2024
1 parent 3ebcf1b commit 5d9c60d
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
NodeGetUnknown,
)
from models_library.projects_nodes_io import NodeID
from pydantic import TypeAdapter
from pytest_mock import MockerFixture
from servicelib.rabbitmq import RPCServerError
from simcore_service_webserver.dynamic_scheduler.api import (
Expand Down Expand Up @@ -48,10 +47,8 @@ def mock_rpc_client(

@pytest.fixture
def dynamic_service_start() -> DynamicServiceStart:
return (
TypeAdapter(DynamicServiceStart).validate_python(
DynamicServiceStart.model_config["json_schema_extra"]["example"]
),
return DynamicServiceStart.parse_obj(
DynamicServiceStart.Config.schema_extra["example"]
)


Expand Down

0 comments on commit 5d9c60d

Please sign in to comment.