From 09d264969d5d6ba459c0f9f9a0f246046ba80211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Clau=C3=9F?= Date: Fri, 2 Jun 2023 09:22:17 +0200 Subject: [PATCH] fix --- src/paveit/datamodels/machines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paveit/datamodels/machines.py b/src/paveit/datamodels/machines.py index c9e26cd..232b6a6 100755 --- a/src/paveit/datamodels/machines.py +++ b/src/paveit/datamodels/machines.py @@ -1,5 +1,6 @@ import datetime +from bson import ObjectId from mongoengine import * from paveit.helper import fetch_recursive, mongo_to_dict @@ -11,7 +12,7 @@ from .components import ( ) from .enumeration import Labtest, LabtestsEnum from .usermanagement import Organisation -from bson import ObjectId + # ??? Labtest: Ist das richtig hier? class Experiment(EmbeddedDocument): @@ -75,7 +76,6 @@ class MachineBase(Document): return config_array -get_config_of_machine(ObjectId('6461eaea71b8a84558df5c58'), pdm.LabtestsEnum.CITTStiffness) meta = { 'allow_inheritance': True,