From 7967de633397f9b478c23e743376be2ade0d70af Mon Sep 17 00:00:00 2001 From: Gavin Mendel-Gleason Date: Thu, 22 Feb 2024 13:19:18 +0100 Subject: [PATCH] Adding pin --- terminusdb_client/client/Client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminusdb_client/client/Client.py b/terminusdb_client/client/Client.py index d979a26c..d641e38f 100644 --- a/terminusdb_client/client/Client.py +++ b/terminusdb_client/client/Client.py @@ -1531,7 +1531,7 @@ def query( get_data_version: bool = False, last_data_version: Optional[str] = None, streaming: bool = False, - # file_dict: Optional[dict] = None, + library: Optional[str] = None, ) -> Union[dict, str, WoqlResult]: """Updates the contents of the specified graph with the triples encoded in turtle format Replaces the entire graph contents @@ -1569,6 +1569,8 @@ def query( request_woql_query = woql_query query_obj["query"] = request_woql_query query_obj["streaming"] = streaming + if library: + query_obj["library"] = library headers = self._default_headers.copy() if last_data_version is not None: