Skip to content

Commit

Permalink
ServiceDecorator no longer requires optional fields, since #2242 …
Browse files Browse the repository at this point in the history
…in hyperledger/aries-cloudagent-python
  • Loading branch information
ff137 committed May 6, 2024
1 parent 60f400a commit 279d3b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions aries_cloudcontroller/models/service_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ class ServiceDecorator(BaseModel):
ServiceDecorator
""" # noqa: E501

recipient_keys: Optional[List[Annotated[str, Field(strict=True)]]] = Field(
default=None, description="List of recipient keys", alias="recipientKeys"
recipient_keys: List[Annotated[str, Field(strict=True)]] = Field(
description="List of recipient keys", alias="recipientKeys"
)
routing_keys: Optional[List[Annotated[str, Field(strict=True)]]] = Field(
default=None, description="List of routing keys", alias="routingKeys"
)
service_endpoint: Optional[StrictStr] = Field(
default=None,
service_endpoint: StrictStr = Field(
description="Service endpoint at which to reach this agent",
alias="serviceEndpoint",
)
Expand Down

0 comments on commit 279d3b7

Please sign in to comment.