Skip to content

Commit

Permalink
Thaw models (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington authored Jun 4, 2023
1 parent c9951a9 commit b8a0d94
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit b8a0d94

Please sign in to comment.