Skip to content

Commit

Permalink
fix user query (#54)
Browse files Browse the repository at this point in the history
* fix user query

* fix user query
  • Loading branch information
youngyjd authored and Hans Adriaans committed Jun 30, 2022
1 parent 69b1b90 commit 9daf394
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions metadata/metadata_service/proxy/neo4j_proxy.py
Expand Up @@ -441,7 +441,7 @@ def add_owner(self, *,
"""
create_owner_query = textwrap.dedent("""
MERGE (u:User {key: $user_email})
on CREATE SET u.email: $user_email, u.key: $user_email
on CREATE SET u={email: $user_email, key: $user_email}
""")

upsert_owner_relation_query = textwrap.dedent("""
Expand Down Expand Up @@ -802,7 +802,7 @@ def add_table_relation_by_user(self, *,

upsert_user_query = textwrap.dedent("""
MERGE (u:User {key: $user_email})
on CREATE SET u.email: $user_email, u.key: $user_email
on CREATE SET u={email: $user_email, key: $user_email}
""")

user_email = 'key: "{user_email}"'.format(user_email=user_email)
Expand Down
2 changes: 1 addition & 1 deletion metadata/setup.py
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

__version__ = '1.0.10'
__version__ = '1.0.11'


setup(
Expand Down

0 comments on commit 9daf394

Please sign in to comment.