We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49ee95e commit 2635d18Copy full SHA for 2635d18
src/libtmux/session.py
@@ -687,5 +687,11 @@ def list_windows(self) -> t.List["Window"]:
687
warnings.warn("Session.list_windows() is deprecated")
688
return self.windows
689
690
- #: Was used by TmuxRelationalObject (but that's longer used in this class)
691
- children = windows
+ @property
+ def children(self) -> QueryList["Window"]: # type:ignore
692
+ """Was used by TmuxRelationalObject (but that's longer used in this class)
693
+
694
+ .. deprecated:: 0.16
695
+ """
696
+ warnings.warn("Session.children is deprecated")
697
+ return self.windows
0 commit comments