Skip to content

Commit

Permalink
remove model as property since it is implemented as alias
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter authored Aug 10, 2024
1 parent 8572b4a commit 35fa3a3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/autora/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,17 +1533,6 @@ def y(self) -> pd.DataFrame:
return pd.DataFrame()
return self.experiment_data[self.dv_names]

@property
def model(self):
if len(self.models) == 0:
return None
# The property to access the backing field
return self.models[-1]

@model.setter
def model(self, value):
# Control the setting behavior
self.models.append(value)


X = TypeVar("X")
Expand Down

0 comments on commit 35fa3a3

Please sign in to comment.