Skip to content

Commit

Permalink
WIP - Compliance with API changes in AtomDB
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Senna committed Sep 24, 2024
1 parent 276db9e commit 0a0aedc
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 2,199 deletions.
6 changes: 3 additions & 3 deletions hyperon_das/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import pickle
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union

from hyperon_das.link_filters import LinkFilter
from hyperon_das_atomdb import AtomDoesNotExist
from hyperon_das_atomdb.database import IncomingLinksT
from requests import exceptions, sessions
Expand All @@ -13,6 +12,7 @@
HTTPError,
RequestError,
)
from hyperon_das.link_filters import LinkFilter
from hyperon_das.logger import logger
from hyperon_das.type_alias import Query
from hyperon_das.utils import connect_to_server, das_error, deserialize, serialize
Expand Down Expand Up @@ -108,9 +108,9 @@ def get_links(self, link_filter: LinkFilter) -> Union[List[str], List[Dict]]:
"toplevel_only": link_filter.toplevel_only,
"link_type": link_filter.link_type or "",
"target_types": link_filter.target_types or [],
"targets": link_filter.targets or []
"targets": link_filter.targets or [],
}
}
},
}
try:
return self._send_request(payload)
Expand Down
1 change: 0 additions & 1 deletion hyperon_das/pattern_matcher/__init__.py

This file was deleted.

13 changes: 0 additions & 13 deletions hyperon_das/pattern_matcher/constants.py

This file was deleted.

Loading

0 comments on commit 0a0aedc

Please sign in to comment.