Skip to content

Commit

Permalink
PR review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Senna committed Sep 17, 2024
1 parent c6843a5 commit e05211e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hyperon_das_atomdb/adapters/ram_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,6 @@ def get_matched_links(
if kwargs.get("toplevel_only", False):
return self._filter_non_toplevel(patterns_matched)

# return [handle for handle, _ in patterns_matched]
return patterns_matched

def get_incoming_links(self, atom_handle: str, **kwargs) -> IncomingLinksT:
Expand Down
1 change: 0 additions & 1 deletion hyperon_das_atomdb/adapters/redis_mongo_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,6 @@ def _retrieve_hash_targets_value(
MatchedTargetsListT: List of members in the hash targets value.
"""
key = _build_redis_key(key_prefix, handle)
# return list(self._get_redis_members(key, **kwargs))
members = self._get_redis_members(key, **kwargs)
if len(members) == 0:
return []
Expand Down
2 changes: 1 addition & 1 deletion hyperon_das_atomdb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

IncomingLinksT: TypeAlias = HandleListT | list[AtomT]

MatchedTargetsListT: TypeAlias = list[tuple[str, tuple[str, ...]]]
MatchedTargetsListT: TypeAlias = list[tuple[HandleT, tuple[HandleT, ...]]]

MatchedLinksResultT: TypeAlias = HandleListT | MatchedTargetsListT

Expand Down

0 comments on commit e05211e

Please sign in to comment.