We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8523a56 commit af23b5bCopy full SHA for af23b5b
1 file changed
src/time_agnostic_library/agnostic_query.py
@@ -988,8 +988,10 @@ def run_agnostic_query(self) -> dict:
988
entity_uris = set(self.reconstructed_entities)
989
if not entity_uris:
990
return {}
991
- prov_data = _batch_query_dm_provenance(entity_uris, self.config)
992
- existence_data = _batch_check_existence(entity_uris, self.config)
+ prov_future = _IO_EXECUTOR.submit(_batch_query_dm_provenance, entity_uris, self.config)
+ existence_future = _IO_EXECUTOR.submit(_batch_check_existence, entity_uris, self.config)
993
+ prov_data = prov_future.result()
994
+ existence_data = existence_future.result()
995
output = {}
996
for entity_str in entity_uris:
997
snapshots = prov_data[entity_str]
0 commit comments