Skip to content

Commit

Permalink
Use record type-specific get functions for datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Jan 6, 2024
1 parent 9e16114 commit ceb77fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcportal/qcportal/dataset_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def _internal_fetch_records(
)

record_ids = [x[2] for x in record_info]
records = self._client.get_records(record_ids, include=include)
records = self._client._get_records_by_type(self._record_type, record_ids, include=include)

# Update the locally-stored records
for rec_item, rec in zip(record_info, records):
Expand Down

0 comments on commit ceb77fe

Please sign in to comment.