⚠️ Imports moving in v0.13: `libtmux.Server` -> `libtmux.server.Server`, etc
tony opened this issue · 0 comments
tony commented
This can cause tricky circular imports / cyclic dependency issues that get in the way of mypy, MonkeyType, and our API documentation.
Looking for feedback on this.
Is it a deal-breaker for you?
Server
Before
from libtmux import ServerAfter
from libtmux.server import ServerSession
Before
from libtmux import SessionAfter
from libtmux.server import ServerWindow
Before
from libtmux import WindowAfter
from libtmux.window import WindowPane
Before
from libtmux import PaneAfter
from libtmux.pane import Pane