Skip to content

Commit c908044

Browse files
committed
Set __all__ for django_unicorn.components.
1 parent deb5da9 commit c908044

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
# Explicitly expose what should be available when importing from `django_unicorn.component`
21
from .typing import QuerySetType
32
from .unicorn_view import UnicornField, UnicornView
43
from .updaters import HashUpdate, LocationUpdate, PollUpdate
4+
5+
6+
__all__ = [
7+
"QuerySetType",
8+
"UnicornField",
9+
"UnicornView",
10+
"HashUpdate",
11+
"LocationUpdate",
12+
"PollUpdate",
13+
]

0 commit comments

Comments
 (0)