diff --git a/pymammotion/aliyun/dataclass/dev_by_account_response.py b/pymammotion/aliyun/dataclass/dev_by_account_response.py index d2e718f..dc73b97 100644 --- a/pymammotion/aliyun/dataclass/dev_by_account_response.py +++ b/pymammotion/aliyun/dataclass/dev_by_account_response.py @@ -9,7 +9,6 @@ class Device(DataClassORJSONMixin): gmtModified: int netType: str - nickName: str categoryKey: str productKey: str nodeType: str @@ -24,10 +23,13 @@ class Device(DataClassORJSONMixin): identityId: str thingType: str status: int + nickName: Optional[str] = None + description: Optional[str] = None productImage: Optional[str] = None categoryImage: Optional[str] = None productModel: Optional[str] = None + class Config(BaseConfig): omit_default = True diff --git a/pyproject.toml b/pyproject.toml index aa7689a..9352849 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "pymammotion" -version = "0.2.11" +version = "0.2.12" [tool.poetry] name = "pymammotion" -version = "0.2.11" +version = "0.2.12" license = "GNU-3.0" description = "" readme = "README.md" @@ -53,7 +53,7 @@ mypy = "^1.10.0" pre-commit = "^3.7.1" [tool.bumpver] -current_version = "0.2.11" +current_version = "0.2.12" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "Bump version {old_version} -> {new_version}" commit = true