Skip to content

Commit 398147e

Browse files
committed
fix typing typo
1 parent 5406f5f commit 398147e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/python-fastui/fastui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from .components import AnyComponent
66

7-
__version__ = '0.5.1'
7+
__version__ = '0.5.2'
88
__all__ = 'AnyComponent', 'FastUI', 'prebuilt_html'
99

1010

src/python-fastui/fastui/components/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class ServerLoad(_p.BaseModel, extra='forbid'):
221221
load_trigger: _t.Union[events.PageEvent, None] = _p.Field(default=None, serialization_alias='loadTrigger')
222222
components: '_t.Union[_t.List[AnyComponent], None]' = None
223223
sse: _t.Union[bool, None] = None
224-
sse_retry: _t.Union[int, None] = _p.Field(None, serialization_alias='sseRetry')
224+
sse_retry: _t.Union[int, None] = _p.Field(default=None, serialization_alias='sseRetry')
225225
method: _t.Union[_t.Literal['GET', 'POST', 'PATCH', 'PUT', 'DELETE'], None] = None
226226
type: _t.Literal['ServerLoad'] = 'ServerLoad'
227227

0 commit comments

Comments
 (0)