chore: drop Python 3.8 support as it has reached EOL (#338)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-01-07 09:22:28 -10:00
committed by GitHub
parent 471e680354
commit 42a786b23f
20 changed files with 471 additions and 456 deletions

View File

@@ -30,7 +30,7 @@ with open(os.path.dirname(__file__) + "/data/get_managed_objects.hex") as fp:
get_managed_objects_msg = fp.read()
def json_to_message(message: Dict[str, Any]) -> Message:
def json_to_message(message: dict[str, Any]) -> Message:
copy = dict(message)
if "message_type" in copy:
copy["message_type"] = MessageType(copy["message_type"])