Skip to content

Commit

Permalink
change the way parent_key value is assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalebi committed Aug 19, 2024
1 parent 2e64639 commit 798bd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql_service/resolver/gene_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ def set_db_conn_for_uuid(info, uuid):
conn = {"db_conn": db_conn, "data_loader": BatchLoaders(db_conn)}

parent_key = get_path_parent_key(info)
info.context.setdefault(parent_key, conn)
info.context[parent_key] = conn


def get_db_conn(info):
Expand Down

0 comments on commit 798bd3e

Please sign in to comment.