Skip to content

Commit 87a1137

Browse files
authored
✨ support updating wallet group-id (#181)
1 parent f1e4bed commit 87a1137

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aries_cloudcontroller/models/update_wallet_request.py

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class UpdateWalletRequest(BaseModel):
3232
extra_settings: Optional[Dict[str, Any]] = Field(
3333
default=None, description="Agent config key-value pairs"
3434
)
35+
group_id: Optional[str] = Field(None, examples=["SomeGroupId"])
3536
image_url: Optional[StrictStr] = Field(
3637
default=None,
3738
description="Image url for this wallet. This image url is publicized (self-attested) to other agents as part of forming a connection.",
@@ -49,6 +50,7 @@ class UpdateWalletRequest(BaseModel):
4950
)
5051
__properties: ClassVar[List[str]] = [
5152
"extra_settings",
53+
"group_id",
5254
"image_url",
5355
"label",
5456
"wallet_dispatch_type",
@@ -111,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
111113
_obj = cls.model_validate(
112114
{
113115
"extra_settings": obj.get("extra_settings"),
116+
"group_id": obj.get("group_id"),
114117
"image_url": obj.get("image_url"),
115118
"label": obj.get("label"),
116119
"wallet_dispatch_type": obj.get("wallet_dispatch_type"),

0 commit comments

Comments
 (0)