From 44ab42d80ce1e168616059cdf9f69000a7142dcf Mon Sep 17 00:00:00 2001 From: anti Date: Sun, 10 May 2026 02:23:13 -0400 Subject: [PATCH] fix(server): add from __future__ import annotations for Python <3.9 compat --- decnet/templates/http/server.py | 2 ++ decnet/templates/https/server.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/decnet/templates/http/server.py b/decnet/templates/http/server.py index 542530cf..00fe7d48 100644 --- a/decnet/templates/http/server.py +++ b/decnet/templates/http/server.py @@ -5,6 +5,8 @@ Accepts all requests, logs every detail (method, path, headers, body), and responds with configurable pages. Forwards events as JSON to LOG_TARGET if set. """ +from __future__ import annotations + import json import logging import os diff --git a/decnet/templates/https/server.py b/decnet/templates/https/server.py index b0a936bb..2983a03d 100644 --- a/decnet/templates/https/server.py +++ b/decnet/templates/https/server.py @@ -6,6 +6,8 @@ logs every detail (method, path, headers, body, TLS info), and responds with configurable pages. Forwards events as JSON to LOG_TARGET if set. """ +from __future__ import annotations + import json import logging import os