async def _handle_type_coverage_query(self, query: TypeCoverageQuery, strict_default: bool, socket_path: Path) -> None:
    type_coverage_result = (await self._query_type_coverage(query.path, strict_default, socket_path))
    if (type_coverage_result is not None):
        (await lsp.write_json_rpc(self.client_output_channel, json_rpc.SuccessResponse(id=query.id, result=type_coverage_result.to_dict())))
async def _handle_type_coverage_query(self, query: TypeCoverageQuery, strict_default: bool, socket_path: Path) -> None:
    type_coverage_result = (await self._query_type_coverage(query.path, strict_default, socket_path))
    if (type_coverage_result is not None):
        (await lsp.write_json_rpc(self.client_output_channel, json_rpc.SuccessResponse(id=query.id, result=type_coverage_result.to_dict())))