Skip to content

Commit

Permalink
fix: weird typing thing
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 24, 2024
1 parent 4815fa5 commit 1234a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ape/utils/basemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class classproperty(object):
def __init__(self, fn: Callable):
self.fn = fn

def __get__(self, obj, owner):
def __get__(self, obj, owner) -> Any:
return self.fn(owner)


Expand All @@ -45,7 +45,7 @@ class manager_access(property):
def __init__(self, fn):
self.fn = fn

def __get__(self, obj, owner):
def __get__(self, obj, owner) -> Any: # type: ignore[override]
if self._cache is None:
self._cache = self.fn(owner)

Expand Down

0 comments on commit 1234a47

Please sign in to comment.