Skip to content

Commit

Permalink
make code a bit cleaner
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Urchs <[email protected]>
  • Loading branch information
alyssadai and surchs authored Jan 14, 2024
1 parent ab50b37 commit f65aff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/api/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def get(
else:
for result in response:
result["node_name"] = node_name
cross_node_results += response
cross_node_results.extend(response)

if node_errors:
# TODO: Use logger instead of print, see https://github.com/tiangolo/fastapi/issues/5003
Expand Down
2 changes: 1 addition & 1 deletion tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


@pytest.fixture()
def test_single_matching_dataset_result():
def mocked_single_matching_dataset_result():
"""Valid aggregate query result for a single matching dataset."""
return {
"dataset_uuid": "http://neurobagel.org/vocab/12345",
Expand Down

0 comments on commit f65aff8

Please sign in to comment.