Skip to content

Commit 69504f1

Browse files
committed
remove dataclasses-json dependency
1 parent b5d6139 commit 69504f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/wechaty/schema.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@
2323
import os
2424
from typing import Any, Optional, List, Dict, Union
2525
from dataclasses import dataclass
26-
from dataclasses_json import dataclass_json
2726

2827
from quart import jsonify, Response
2928
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
3029
from wechaty.config import config
3130

3231

33-
@dataclass_json
3432
@dataclass
3533
class NavMetadata:
3634
"""nav metadata"""
@@ -41,7 +39,6 @@ class NavMetadata:
4139
icon: Optional[str] = None # avatar of author
4240

4341

44-
@dataclass_json
4542
@dataclass
4643
class NavDTO:
4744
"""the data transfer object of plugin list"""

0 commit comments

Comments
 (0)