|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
|
|
|
import copy
|
|
import copy
|
|
import typing
|
|
import typing
|
|
-import warnings
|
|
|
|
from abc import ABC, abstractmethod
|
|
from abc import ABC, abstractmethod
|
|
from functools import lru_cache, wraps
|
|
from functools import lru_cache, wraps
|
|
from hashlib import md5
|
|
from hashlib import md5
|
|
@@ -170,8 +169,6 @@ ComponentStyle = Dict[
|
|
]
|
|
]
|
|
ComponentChild = Union[types.PrimitiveType, Var, BaseComponent]
|
|
ComponentChild = Union[types.PrimitiveType, Var, BaseComponent]
|
|
|
|
|
|
-warnings.filterwarnings("ignore", message="fields may not start with an underscore")
|
|
|
|
-
|
|
|
|
|
|
|
|
class Component(BaseComponent, ABC):
|
|
class Component(BaseComponent, ABC):
|
|
"""A component with style, event trigger and other props."""
|
|
"""A component with style, event trigger and other props."""
|