Skip to content

Commit

Permalink
✨ support updating wallet group-id
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Jul 10, 2024
1 parent f1e4bed commit ccd6f3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aries_cloudcontroller/models/update_wallet_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class UpdateWalletRequest(BaseModel):
extra_settings: Optional[Dict[str, Any]] = Field(
default=None, description="Agent config key-value pairs"
)
group_id: Optional[str] = Field(None, examples=["SomeGroupId"])
image_url: Optional[StrictStr] = Field(
default=None,
description="Image url for this wallet. This image url is publicized (self-attested) to other agents as part of forming a connection.",
Expand All @@ -49,6 +50,7 @@ class UpdateWalletRequest(BaseModel):
)
__properties: ClassVar[List[str]] = [
"extra_settings",
"group_id",
"image_url",
"label",
"wallet_dispatch_type",
Expand Down Expand Up @@ -111,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate(
{
"extra_settings": obj.get("extra_settings"),
"group_id": obj.get("group_id"),
"image_url": obj.get("image_url"),
"label": obj.get("label"),
"wallet_dispatch_type": obj.get("wallet_dispatch_type"),
Expand Down

0 comments on commit ccd6f3f

Please sign in to comment.