File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 278
278
)
279
279
280
280
281
- @custom_vdom_constructor
282
- def _ (
281
+ def _fragment (
283
282
attributes : VdomAttributes ,
284
283
children : Sequence [VdomChild ],
285
284
key : Key | None ,
@@ -299,6 +298,10 @@ def _(
299
298
return model
300
299
301
300
301
+ # FIXME: https://github.com/PyCQA/pylint/issues/5784
302
+ _ = custom_vdom_constructor (_fragment )
303
+
304
+
302
305
# Dcument metadata
303
306
base = make_vdom_constructor ("base" )
304
307
head = make_vdom_constructor ("head" )
@@ -394,8 +397,7 @@ def _(
394
397
noscript = make_vdom_constructor ("noscript" )
395
398
396
399
397
- @custom_vdom_constructor
398
- def script (
400
+ def _script (
399
401
attributes : VdomAttributes ,
400
402
children : Sequence [VdomChild ],
401
403
key : Key | None ,
@@ -440,6 +442,9 @@ def script(
440
442
return model
441
443
442
444
445
+ # FIXME: https://github.com/PyCQA/pylint/issues/5784
446
+ script = custom_vdom_constructor (_script )
447
+
443
448
# Demarcating edits
444
449
del_ = make_vdom_constructor ("del" )
445
450
ins = make_vdom_constructor ("ins" )
You can’t perform that action at this time.
0 commit comments