diff --git a/my_eloquent.py b/my_eloquent.py index 8acc40b..a21efa8 100644 --- a/my_eloquent.py +++ b/my_eloquent.py @@ -18,13 +18,3 @@ class Model (eloquent.Model): self.id = row.id self._Model__exists = True # pylint: disable = protected-access self.save () - - @classmethod - def with_ ( - cls, - *relations: str, - ) -> eloquent.QueryBuilder: - q = cls.query () - for relation in relations: - q = q._load_relation (relation) - return q