From d0bd0d585fd231fd97826b67a80fed25e2050434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 13 Dec 2024 10:43:01 +0000 Subject: [PATCH] remove unneeded code --- src/c3nav/editor/changes.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/c3nav/editor/changes.py b/src/c3nav/editor/changes.py index 6c67514b..abf6cf68 100644 --- a/src/c3nav/editor/changes.py +++ b/src/c3nav/editor/changes.py @@ -4,7 +4,7 @@ import operator import random from functools import reduce from itertools import chain -from typing import Type, Any, Union, Self, TypeVar, Generic, NamedTuple, TypeAlias +from typing import Type, Any, Union, Self, TypeVar, Generic, NamedTuple from django.apps import apps from django.core import serializers @@ -565,9 +565,6 @@ class ChangedObjectCollection(BaseSchema): # situations that ended prematurely ended_situations: list[OperationSituation] = [] - # situations already encountered by set of operation uuids included, values are number of operations - best_uids: dict[frozenset[tuple], int] = {} - # best way to get to a certain dependency snapshot, values are number of operations best_dependency_snapshots: dict[tuple, int] = {}