Skip to content

Commit

Permalink
fix: Don't take a shortcut to the end of an alias chain when getting/…
Browse files Browse the repository at this point in the history
…setting/deleting alias members
  • Loading branch information
pawamoy committed Jul 14, 2024
1 parent 5abf4e3 commit 1930609
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/_griffe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,15 +1250,6 @@ def resolve(self, name: str) -> str:
"""
return self.final_target.resolve(name)

def get_member(self, key: str | Sequence[str]) -> Object | Alias: # noqa: D102
return self.final_target.get_member(key)

def set_member(self, key: str | Sequence[str], value: Object | Alias) -> None: # noqa: D102
return self.final_target.set_member(key, value)

def del_member(self, key: str | Sequence[str]) -> None: # noqa: D102
return self.final_target.del_member(key)

# SPECIFIC MODULE/CLASS/FUNCTION/ATTRIBUTE PROXIES ---------------
# These methods and properties exist on targets of specific kind.
# We first try to reach the final target, trigerring alias resolution errors
Expand Down

0 comments on commit 1930609

Please sign in to comment.