17 lines
474 B
Python
17 lines
474 B
Python
"""页级图片质量执行器。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from fastapi_modules.fastapi_leaudit.services.impl.pageQualityServiceImpl import PageQualityServiceImpl
|
|
|
|
|
|
class PageQualityRunner:
|
|
"""页级图片质量执行器。"""
|
|
|
|
async def Execute(self, RunId: int) -> dict[str, Any]:
|
|
"""执行一次页级模糊检测。"""
|
|
service = PageQualityServiceImpl()
|
|
return await service.ExecuteRun(RunId=RunId)
|