Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
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
6 changes: 3 additions & 3 deletions seamapi/connect_webviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def list(self) -> List[ConnectWebview]:
json_webviews = res["connect_webviews"]

return [
ConnectWebview(**json_webview) for json_webview in json_webviews
ConnectWebview.from_dict(json_webview) for json_webview in json_webviews
]

@report_error
Expand Down Expand Up @@ -100,7 +100,7 @@ def get(
)
json_webview = res["connect_webview"]

return ConnectWebview(**json_webview)
return ConnectWebview.from_dict(json_webview)

@report_error
def create(
Expand Down Expand Up @@ -152,4 +152,4 @@ def create(
)
json_webview = res["connect_webview"]

return ConnectWebview(**json_webview)
return ConnectWebview.from_dict(json_webview)