diff --git a/my_eloquent.py b/my_eloquent.py index 9f53a64..8acc40b 100644 --- a/my_eloquent.py +++ b/my_eloquent.py @@ -1,5 +1,3 @@ -from typing import Self - import eloquent @@ -25,7 +23,7 @@ class Model (eloquent.Model): def with_ ( cls, *relations: str, - ) -> eloquent.QueryBuilder[Self]: + ) -> eloquent.QueryBuilder: q = cls.query () for relation in relations: q = q._load_relation (relation)