Skip to content

Commit 340ceb0

Browse files
committed
Fix the pyright error
1 parent 41a7fcf commit 340ceb0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
from pydantic_core import core_schema as _core_schema
66

77
from fastui import class_name as _class_name
8-
from fastui import events
98
from fastui import types as _types
10-
from fastui.base import BaseModel
11-
from fastui.components.containers import Link
9+
10+
from .. import events
11+
from ..base import BaseModel
12+
from .containers import Link
1213

1314

1415
class Text(BaseModel, extra='forbid'):

0 commit comments

Comments
 (0)