From 7036e54b8a268cf7e4ff7207c8afdb5cf8142438 Mon Sep 17 00:00:00 2001 From: Sally Date: Tue, 21 Jan 2025 15:28:00 +0000 Subject: [PATCH] Removed the function to prevent basemodel subclass init --- virtual_ecosystem/core/base_model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/virtual_ecosystem/core/base_model.py b/virtual_ecosystem/core/base_model.py index 9843fe689..c89a1fd06 100644 --- a/virtual_ecosystem/core/base_model.py +++ b/virtual_ecosystem/core/base_model.py @@ -594,8 +594,6 @@ class ExampleModel( defined TypeError: If model_name is not a string """ - # if cls.__init__ != BaseModel.__init__: - # raise NotImplementedError("Model subclasses cannot override __init__.") if cls.update != BaseModel.update: raise NotImplementedError(