From bc88ac22b961b8099538a8e5f4ab151a7b711a4f Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 6 Jul 2026 13:27:54 +0100 Subject: [PATCH] Fix nx NameError caused by type annotation Add from __future__ import annotations - causes annotation to be evaluated when needed --- src/snkit/network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/snkit/network.py b/src/snkit/network.py index 7154f63..bb49509 100644 --- a/src/snkit/network.py +++ b/src/snkit/network.py @@ -1,5 +1,7 @@ """Network representation and utilities """ +from __future__ import annotations + from functools import partial import logging import multiprocessing