File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
long_running_interfaces_runners/asyncio_tasks
long_running_interfaces/_rpc
tests/long_running_interfaces
scripts/release/monitor_release Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async def start(
3131 params : StartParams ,
3232 timeout : timedelta , # noqa: ASYNC109
3333 ) -> None :
34- """used to start a jbo """
34+ """used to start a job """
3535
3636 @abstractmethod
3737 async def remove (self , unique_id : JobUniqueId ) -> None :
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ async def start(
3434 params : StartParams ,
3535 timeout : timedelta , # noqa: ASYNC109
3636 ) -> None :
37- """used to start a jbo """
37+ """used to start a job """
3838 if name not in self .registry .handlers :
3939 raise HandlerNotRegisteredError (name = name )
4040
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ async def test_get_set_delete(
5454 assert await client_store_interface .get (unique_id ) is None
5555
5656
57- async def test_remove_not_exising (client_store_interface : ClientStoreInterface ):
57+ async def test_remove_not_existing (client_store_interface : ClientStoreInterface ):
5858 await client_store_interface .remove ("missing" )
5959
6060
@@ -84,7 +84,7 @@ async def test_key_does_not_expire(
8484 assert await client_store_interface .get (unique_id ) is not None
8585 assert await client_store_interface .get_existing (unique_id )
8686
87- # wait a bit and key shoult still be there
87+ # wait a bit and key should still be there
8888 await asyncio .sleep (job_timeout .total_seconds ())
8989
9090 assert await client_store_interface .get (unique_id ) is not None
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def __init__(self) -> None:
5858 self .result_raises : bool = False
5959
6060 async def _worker (self ) -> None :
61- # decreates duration for each task
61+ # decreases duration for each task
6262 for unique_id in set (self ._storage .keys ()):
6363 if entry := self ._storage .get (unique_id , None ):
6464 entry ["time_remaining" ] -= 1
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ def get_release_settings(env_file_path: Path):
116116 starts_with = "staging-simcore_staging" ,
117117 )
118118 case _:
119- msg = f"Unknown { deployment = } . Please setupa a new ReleaseSettings for this configuration"
119+ msg = f"Unknown { deployment = } . Please setup a a new ReleaseSettings for this configuration"
120120 raise ValueError (msg )
121121
122122 return settings
You can’t perform that action at this time.
0 commit comments