Skip to content

✨ support updating wallet group-id #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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