We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fe188 commit 78382d0Copy full SHA for 78382d0
src/lightning_app/structures/list.py
@@ -1,7 +1,5 @@
1
import typing as t
2
3
-from pyparsing import Optional
4
-
5
from lightning_app.utilities.app_helpers import _LightningAppRef, _set_child_name
6
7
T = t.TypeVar("T")
@@ -52,7 +50,7 @@ def __init__(self, *items: T):
52
50
53
51
self._name: t.Optional[str] = ""
54
self._last_index = 0
55
- self._backend: Optional[Backend] = None
+ self._backend: t.Optional[Backend] = None
56
for item in items:
57
self.append(item)
58
_set_child_name(self, item, str(self._last_index))
0 commit comments