refactor!: replace attrs with dataclass

This commit is contained in:
2025-06-17 18:05:44 +08:00
parent 619bff2ea4
commit 2264e90b8e
3 changed files with 4 additions and 7 deletions

View File

@ -1,10 +1,9 @@
from dataclasses import dataclass
from datetime import datetime
from typing import Optional
import attrs
@attrs.define
@dataclass
class B30OcrResultItem:
rating_class: int
score: int