Skip to content

Commit 6e31e48

Browse files
committed
fix: context field is either a string or a dictionary
1 parent 8867813 commit 6e31e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aries_cloudcontroller/model/credential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Credential(BaseModel):
2727
proof: The proof of the credential [Optional].
2828
"""
2929

30-
context: List[Union[str,Dict]] = Field(..., alias="@context")
30+
context: List[Union[str, Dict]] = Field(..., alias="@context")
3131
credential_subject: Dict[str, Any] = Field(..., alias="credentialSubject")
3232
issuance_date: str = Field(..., alias="issuanceDate")
3333
issuer: Union[str, Dict[str, Any]]

0 commit comments

Comments
 (0)