libtmux icon indicating copy to clipboard operation
libtmux copied to clipboard

⚠️ Imports moving in v0.13: `libtmux.Server` -> `libtmux.server.Server`, etc

Open tony opened this issue 2 years ago • 0 comments

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 Server

After

from libtmux.server import Server

Session

Before

from libtmux import Session

After

from libtmux.server import Server

Window

Before

from libtmux import Window

After

from libtmux.window import Window

Pane

Before

from libtmux import Pane

After

from libtmux.pane import Pane

tony avatar Jul 31 '22 18:07 tony