Skip to content

Commit

Permalink
fix(models:hook): define some attributes (guide, read_more_url, exten…
Browse files Browse the repository at this point in the history
…sion_image_url) as optional
  • Loading branch information
Ondrej Slama committed Mar 1, 2023
1 parent d797e99 commit b16a456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rossum_api/models/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ class Hook:
active: bool
config: Dict[str, Any]
test: Dict[str, Any]
guide: str
read_more_url: str
extension_image_url: str
guide: Optional[str]
read_more_url: Optional[str]
extension_image_url: Optional[str]
type: str = "webhook"
metadata: Dict[str, Any] = field(default_factory=dict)
queues: List[str] = field(default_factory=list)
Expand Down

0 comments on commit b16a456

Please sign in to comment.