From 5f772d26408246de5085d3fb8ed0eb9bcd499aa0 Mon Sep 17 00:00:00 2001 From: Katarina Supe <61758502+katarinasupe@users.noreply.github.com> Date: Fri, 7 Apr 2023 14:11:14 +0200 Subject: [PATCH 1/3] Align develop and main branch (#237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bruno Sačarić From 1ab38f6222a24ead24bfe3dfcad88dce41471f77 Mon Sep 17 00:00:00 2001 From: imilinovic Date: Mon, 19 Feb 2024 22:05:57 +0100 Subject: [PATCH 2/3] update load csv docstring --- gqlalchemy/query_builders/memgraph_query_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gqlalchemy/query_builders/memgraph_query_builder.py b/gqlalchemy/query_builders/memgraph_query_builder.py index 66ed98ee..6b49836f 100644 --- a/gqlalchemy/query_builders/memgraph_query_builder.py +++ b/gqlalchemy/query_builders/memgraph_query_builder.py @@ -58,7 +58,7 @@ def load_csv(self, path: str, header: bool, row: str) -> "DeclarativeBase": """Load data from a CSV file by executing a Cypher query for each row. Args: - path: A string representing the path to the CSV file. + path: A string representing the path to the CSV file. If using `http://`, `https://`, or `ftp://` the CSV file will be fetched over the network. header: A bool indicating if the CSV file starts with a header row. row: A string representing the name of the variable for iterating over each row. From 95e52e01b4e108557645bbc11759b986d4362835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Milinovi=C4=87?= <44698587+imilinovic@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:41:50 +0200 Subject: [PATCH 3/3] Update gqlalchemy/query_builders/memgraph_query_builder.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ante Pušić --- gqlalchemy/query_builders/memgraph_query_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gqlalchemy/query_builders/memgraph_query_builder.py b/gqlalchemy/query_builders/memgraph_query_builder.py index 6b49836f..ae6f16a9 100644 --- a/gqlalchemy/query_builders/memgraph_query_builder.py +++ b/gqlalchemy/query_builders/memgraph_query_builder.py @@ -58,7 +58,7 @@ def load_csv(self, path: str, header: bool, row: str) -> "DeclarativeBase": """Load data from a CSV file by executing a Cypher query for each row. Args: - path: A string representing the path to the CSV file. If using `http://`, `https://`, or `ftp://` the CSV file will be fetched over the network. + path: A string representing the path to the CSV file. If beginning with `http://`, `https://`, or `ftp://`, the CSV file will be fetched over the network. header: A bool indicating if the CSV file starts with a header row. row: A string representing the name of the variable for iterating over each row.