Skip to content

Commit

Permalink
🐛 disclosures field can be str or Dict
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Apr 16, 2024
1 parent 202e337 commit 252e073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aries_cloudcontroller/models/sdjws_verify_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import json
import pprint
from typing import Any, ClassVar, Dict, List, Optional, Set
from typing import Any, ClassVar, Dict, List, Optional, Set, Union

from pydantic import BaseModel, Field, StrictBool, StrictStr
from typing_extensions import Self
Expand All @@ -29,7 +29,7 @@ class SDJWSVerifyResponse(BaseModel):
SDJWSVerifyResponse
""" # noqa: E501

disclosures: Optional[List[List[Dict[str, Any]]]] = Field(
disclosures: Optional[List[List[Union[str, Dict[str, Any]]]]] = Field(
default=None, description="Disclosure arrays associated with the SD-JWT"
)
error: Optional[StrictStr] = Field(default=None, description="Error text")
Expand Down

0 comments on commit 252e073

Please sign in to comment.