ykh

Results 5 issues of ykh

**Describe the bug** with tortoise-orm==0.20.0 pydantic==2.2.1 code like: ``` class Task(Model): usage_time = fields.TimeDeltaField(null=True, blank=True, description='usgae') class TaskListSchema(pydantic_model_creator(Task, name='TaskListSchema', exclude=('usage_time',))): pass TaskListSchema.from_orm(task).dict() ```` will get error: ``` Traceback (most recent...

## Description fix https://github.com/tortoise/tortoise-orm/issues/1462 ## Motivation and Context use pydantic_model_creator with fields.TimeDeltaField in 0.19.3 will get error ``` pydantic.error_wrappers.ValidationError: 1 validation error for DemoSchema usage_time value is not None (type=type_error.not_none)...

1.2.9版本的 device.install 支持配置flags参数,升级1.2.11后不支持了。 ``` # 安装 # -r: 覆盖安装已存在Apk,并保持原有数据 # -t: 运行安装测试Apk # -d: 运行安装低版本Apk; device.install(str(apk_path), flags=["-r", "-t", "-d"]) ```

``` import adbutils import os port = int(os.getenv('ANDROID_ADB_SERVER_PORT', 5037)) client = adbutils.AdbClient(host="127.0.0.1", port=port) serial = '7aa358b3' #device = client.device(serial) device = client.device_list()[0] package_list = device.list_packages() print(package_list) ``` will get error:...

allow set filter for list package api like: `device.list_packages(filter_list=['-3'])` , doc in [tools/adb#pm](https://developer.android.com/tools/adb#pm)