Skip to content

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

Open
@tony

Description

@tony

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions