I have a test that has code that executes a workflow which PyCharm marks as incorrect (pyright doesn't complain) result = await workflow_client.execute_workflow( SayHelloWorkflow.run, req, id="say-hello-test", task_queue=task_queue ) It is getting this type error: Unexpected type(s): ((request: MyReq, Any) -> Coroutine[Any, Any, MyResp], MyReq, str, str) Possible type(s): (MethodAsyncSingleParam[SelfType, ParamType, ReturnType], MyReq, str, str) (str, Any, str, str) SayHelloWorkflow is defined as @workflow.defn class SayHelloWorkflow: @workflow.run async def run( self, request: MyReq ) -> MyResp: return await workflow.execute_activity( "SayHello", request, start_to_close_timeout=timedelta(seconds=10), ) Continue reading...