-LayoutInputFields0 = List[Union[Tuple[str,
- Union[int,
- Tuple[int, bool],
- Any]],
- Tuple[str,
- Union[int,
- Tuple[int, bool]],
- Direction]]]
-
-LayoutInputFields1 = List[Union[Tuple[str,
- Union[int,
- Tuple[int, bool],
- LayoutInputFields0]],
- Tuple[str,
- Union[int,
- Tuple[int, bool]],
- Direction]]]
-
-LayoutInputFields2 = List[Union[Tuple[str,
- Union[int,
- Tuple[int, bool],
- LayoutInputFields1]],
- Tuple[str,
- Union[int,
- Tuple[int, bool]],
- Direction]]]
-
-LayoutInputFields3 = List[Union[Tuple[str,
- Union[int,
- Tuple[int, bool],
- LayoutInputFields2]],
- Tuple[str,
- Union[int,
- Tuple[int, bool]],
- Direction]]]
-
-LayoutInputFields = List[Union[Tuple[str,
- Union[int,
- Tuple[int, bool],
- LayoutInputFields3]],
- Tuple[str,
- Union[int,
- Tuple[int, bool]],
- Direction]]]
+LayoutInputFields0 = Union['Layout',
+ List[Union[Tuple[str,
+ Union[int,
+ Tuple[int, bool],
+ Any]],
+ Tuple[str,
+ Union[int,
+ Tuple[int, bool]],
+ Direction]]]]
+
+LayoutInputFields1 = Union['Layout',
+ List[Union[Tuple[str,
+ Union[int,
+ Tuple[int, bool],
+ LayoutInputFields0]],
+ Tuple[str,
+ Union[int,
+ Tuple[int, bool]],
+ Direction]]]]
+
+LayoutInputFields2 = Union['Layout',
+ List[Union[Tuple[str,
+ Union[int,
+ Tuple[int, bool],
+ LayoutInputFields1]],
+ Tuple[str,
+ Union[int,
+ Tuple[int, bool]],
+ Direction]]]]
+
+LayoutInputFields3 = Union['Layout',
+ List[Union[Tuple[str,
+ Union[int,
+ Tuple[int, bool],
+ LayoutInputFields2]],
+ Tuple[str,
+ Union[int,
+ Tuple[int, bool]],
+ Direction]]]]
+
+LayoutInputFields = Union['Layout',
+ List[Union[Tuple[str,
+ Union[int,
+ Tuple[int, bool],
+ LayoutInputFields3]],
+ Tuple[str,
+ Union[int,
+ Tuple[int, bool]],
+ Direction]]]]
+
+LayoutFieldShape = Union[int, Tuple[int, bool], 'Layout']