From f0224885d50763ef94b76e7b8d69e5b14ed0b8c1 Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Wed, 20 Mar 2024 20:07:26 +0100 Subject: [PATCH] Undo use of Inheritance enum in models.py --- src/linkahead/common/models.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index bb5bd3cc..bcedfb71 100644 --- a/src/linkahead/common/models.py +++ b/src/linkahead/common/models.py @@ -91,12 +91,12 @@ class Inheritance(Enum): NONE = "NONE" -OBLIGATORY = Inheritance.OBLIGATORY -SUGGESTED = Inheritance.SUGGESTED -RECOMMENDED = Inheritance.RECOMMENDED -FIX = Inheritance.FIX -ALL = Inheritance.ALL -NONE = Inheritance.NONE +OBLIGATORY = "OBLIGATORY" +SUGGESTED = "SUGGESTED" +RECOMMENDED = "RECOMMENDED" +FIX = "FIX" +ALL = "ALL" +NONE = "NONE" SPECIAL_ATTRIBUTES = ["name", "role", "datatype", "description", -- GitLab