add edit name

This commit is contained in:
Jannes Magnusson
2025-10-23 20:27:50 +02:00
parent 1e62bd77d1
commit 90257a62a0
6 changed files with 75 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
from __future__ import annotations
from typing import Union
from copy import deepcopy
from enum import Enum
@@ -13,6 +13,8 @@ class Recipe:
def __str__(self):
return self.name
def copy(self) -> Recipe:
return deepcopy(self)
class StepType(Enum):
SECTION = 0