Skip to content

Commit

Permalink
Removed the function to prevent basemodel subclass init
Browse files Browse the repository at this point in the history
  • Loading branch information
sallymatson committed Jan 21, 2025
1 parent d45ab1d commit 7036e54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions virtual_ecosystem/core/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7036e54

Please sign in to comment.