Improve memoized args (#771)
This commit is contained in:
parent
8eea6ac822
commit
bb29bd864d
@ -509,6 +509,8 @@ class CustomComponent(Component):
|
||||
value = self._create_event_chain(key, value)
|
||||
self.props[format.to_camel_case(key)] = value
|
||||
continue
|
||||
if not types._issubclass(type_, Var):
|
||||
type_ = Var[type_]
|
||||
type_ = types.get_args(type_)[0]
|
||||
if types._issubclass(type_, Base):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user