Skip to content

Commit e12093f

Browse files
authored
Merge pull request #118 from memgraph/T0049-GA-fix-merge-class
[main < T0049-GA] Remove the argument optional from the Merge class
2 parents 824b777 + a1ef070 commit e12093f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

gqlalchemy/query_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ def __init__(self, optional: bool = False, connection: Optional[Union[Connection
602602

603603

604604
class Merge(DeclarativeBase):
605-
def __init__(self, optional: bool = False, connection: Optional[Union[Connection, Memgraph]] = None):
605+
def __init__(self, connection: Optional[Union[Connection, Memgraph]] = None):
606606
super().__init__(connection)
607-
self._query.append(MergePartialQuery(optional))
607+
self._query.append(MergePartialQuery())
608608

609609

610610
class Call(DeclarativeBase):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "GQLAlchemy"
3-
version = "1.1.4"
3+
version = "1.1.5"
44
description = "GQLAlchemy is library developed with purpose of assisting writing and running queries on Memgraph."
55
repository = "https://github.com/memgraph/gqlalchemy"
66
authors = [

0 commit comments

Comments
 (0)