From 4655042d3af6da7eb880180252b87db57800d272 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Sun, 4 Jun 2023 17:36:34 -0500 Subject: [PATCH] thaw models --- src/pyipp/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pyipp/models.py b/src/pyipp/models.py index 0bad85389..c7e66803e 100644 --- a/src/pyipp/models.py +++ b/src/pyipp/models.py @@ -12,7 +12,7 @@ PRINTER_STATES = {3: "idle", 4: "printing", 5: "stopped"} -@dataclass(frozen=True) +@dataclass class Info: """Object holding information from IPP.""" @@ -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.""" @@ -103,7 +103,7 @@ class Marker: high_level: int -@dataclass(frozen=True) +@dataclass class Uri: """Object holding URI info from IPP.""" @@ -112,7 +112,7 @@ class Uri: security: str | None -@dataclass(frozen=True) +@dataclass class State: """Object holding the IPP printer state.""" @@ -135,7 +135,7 @@ def from_dict(data: dict[str, Any]) -> State: ) -@dataclass(frozen=True) +@dataclass class Printer: """Object holding the IPP printer information."""