Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#188] WIP - Implementation of get_atom() using the cache #196

Merged
merged 7 commits into from
Aug 22, 2024

Conversation

andre-senna
Copy link
Contributor

@andre-senna andre-senna commented Aug 22, 2024

WIP of #188

@andre-senna andre-senna changed the title [das-query-engine/#188] WIP - Implementation of get_atom() using the cache [das-atom-db/#188] WIP - Implementation of get_atom() using the cache Aug 22, 2024
@andre-senna andre-senna changed the title [das-atom-db/#188] WIP - Implementation of get_atom() using the cache [#188] WIP - Implementation of get_atom() using the cache Aug 22, 2024
angeloprobst
angeloprobst previously approved these changes Aug 22, 2024
@angeloprobst angeloprobst dismissed their stale review August 22, 2024 17:45

re-reviewing

hyperon_das_atomdb/database.py Show resolved Hide resolved
@@ -196,13 +188,13 @@ def _build_node(self, node_params: NodeParamsT) -> tuple[str, NodeT]:

node: NodeT = {
FieldNames.ID_HASH: handle,
"handle": handle,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review here

hyperon_das_atomdb/database.py Show resolved Hide resolved
message='Nonexistent atom',
details=f'handle: {handle}',
)
if not kwargs.get("no_target_format", False):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review here

@@ -1,90 +1,105 @@
[
{
"_id": "af12f10f9ae2002a1607ba0b47ba8407",
"handle": "af12f10f9ae2002a1607ba0b47ba8407",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review here (similar lines below)

@singnet singnet deleted a comment from andre-senna Aug 22, 2024
@andre-senna andre-senna merged commit 9ba87a6 into master Aug 22, 2024
3 of 4 checks passed
@andre-senna andre-senna deleted the senna-188-1 branch August 22, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants