We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aligo 中所有的数据都是使用 Python 数据类存储,如果直接使用 json.dumps(obj) 转为 json 字符串,将报错:
json.dumps(obj)
TypeError: Object of type BaseDrive is not JSON serializable
可使用如下代码替代:
from dataclasses import asdict json_string = json.dumps(asdict(obj))
用Python连接阿里云盘