File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- from __future__ import annotations
2
-
3
1
import json
4
2
import re
5
3
from collections .abc import Iterator , Sequence
@@ -418,7 +416,7 @@ class Group(Component):
418
416
"""Group of child components in a Layout"""
419
417
420
418
layout : LayoutUnion = Field (description = "How to layout children on screen" )
421
- children : Tree = Field (description = "Child Components" )
419
+ children : " Tree" = Field (description = "Child Components" )
422
420
423
421
424
422
ComponentUnion = Group | SignalR | SignalW | SignalRW | SignalX | SignalRef | DeviceRef
@@ -471,7 +469,7 @@ def serialize(self, yaml: Path):
471
469
dump_yaml (d , yaml )
472
470
473
471
@classmethod
474
- def deserialize (cls , yaml : Path ) -> Device :
472
+ def deserialize (cls , yaml : Path ) -> " Device" :
475
473
"""Instantiate a Device instance from YAML.
476
474
477
475
Args:
You can’t perform that action at this time.
0 commit comments