Skip to content

Commit

Permalink
Update src/sparc/client/services/metadata.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
athril and github-actions[bot] authored Nov 30, 2023
1 parent 3f6f0fc commit dbf9b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparc/client/services/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,5 @@ def search_datasets(self, query: str = '{"query": { "match_all": {}}}') -> list:

list_url = self.host_api + "?" + "key=" + self.scicrunch_api_key

Check warning on line 273 in src/sparc/client/services/metadata.py

View check run for this annotation

Codecov / codecov/patch

src/sparc/client/services/metadata.py#L273

Added line #L273 was not covered by tests

list_results = self.postURL(list_url, body = query, headers=self.default_headers)
list_results = self.postURL(list_url, body=query, headers=self.default_headers)
return list_results

Check warning on line 276 in src/sparc/client/services/metadata.py

View check run for this annotation

Codecov / codecov/patch

src/sparc/client/services/metadata.py#L275-L276

Added lines #L275 - L276 were not covered by tests

0 comments on commit dbf9b7e

Please sign in to comment.