diff --git a/softpack_core/service.py b/softpack_core/service.py index 454cb14..71a3ce5 100644 --- a/softpack_core/service.py +++ b/softpack_core/service.py @@ -5,8 +5,8 @@ """ -import multiprocessing import urllib.parse +from multiprocessing.synchronize import Event as EventClass from pathlib import Path import typer @@ -52,7 +52,7 @@ def run( help="Create and use this branch of Artefacts repo.", ), ] = 'main', - serviceReady = None, + serviceReady: EventClass = None, ) -> None: """Start the SoftPack Core REST API service. diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 0cca742..72f9004 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -43,7 +43,7 @@ def httpx_post(mocker): @pytest.fixture -def testable_env_input(mocker) -> EnvironmentInput: +def testable_env_input(mocker) -> EnvironmentInput: # type: ignore ad = new_test_artifacts() artifacts: Artifacts = ad["artifacts"] user = ad["test_user"]