Skip to content

Commit

Permalink
Fixup last import bits to get the example working
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Feb 17, 2025
1 parent 79f22a2 commit 2fe281c
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions src/clients/python/src/webview_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
import msgspec
import sys

__all__ = [
"WebViewMessage",
"WebViewRequest",
"WebViewOptions",
"WebViewContentHtml",
"WebViewContentUrl",
"WebViewNotification",
"WebViewResponse",
"IpcNotification",
]

# Import schemas
from .schemas.WebViewMessage import (
NotificationMessage,
Expand All @@ -25,10 +36,11 @@
ErrResponse,
Response as WebViewResponse,
Notification as WebViewNotification,
WebViewMessage,
Message as WebViewMessage,
IpcNotification,
)
from .schemas.WebViewRequest import (
WebViewRequest,
Request as WebViewRequest,
GetVersionRequest,
EvalRequest,
SetTitleRequest,
Expand All @@ -46,9 +58,9 @@
Size,
)
from .schemas.WebViewOptions import (
WebViewOptions,
WebViewContentHtml,
WebViewContentUrl,
Options as WebViewOptions,
ContentHtml as WebViewContentHtml,
ContentUrl as WebViewContentUrl,
)

# Constants
Expand Down

0 comments on commit 2fe281c

Please sign in to comment.