Sitelet https://github.com/ctalkington/python-ipp/pull/453/files
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/pyipp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
PRINTER_STATES = {3: "idle", 4: "printing", 5: "stopped"}


@dataclass(frozen=True)
@dataclass
class Info:
"""Object holding information from IPP."""

Expand Down Expand Up @@ -90,7 +90,7 @@ def from_dict(data: dict[str, Any]) -> Info:
)


@dataclass(frozen=True)
@dataclass
class Marker:
"""Object holding marker (ink) info from IPP."""

Expand All @@ -103,7 +103,7 @@ class Marker:
high_level: int


@dataclass(frozen=True)
@dataclass
class Uri:
"""Object holding URI info from IPP."""

Expand All @@ -112,7 +112,7 @@ class Uri:
security: str | None


@dataclass(frozen=True)
@dataclass
class State:
"""Object holding the IPP printer state."""

Expand All @@ -135,7 +135,7 @@ def from_dict(data: dict[str, Any]) -> State:
)


@dataclass(frozen=True)
@dataclass
class Printer:
"""Object holding the IPP printer information."""

Expand Down