@@ -81,7 +81,7 @@ async def mutate(
8181 _validate_schema_permission (graphql_context = graphql_context )
8282 await apply_external_context (graphql_context = graphql_context , context_input = context )
8383
84- kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name )
84+ kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name , duplicate = False )
8585 attribute = str (data .attribute )
8686 validate_kind_dropdown (kind = kind , attribute = attribute )
8787 dropdown = str (data .dropdown )
@@ -104,7 +104,7 @@ async def mutate(
104104 context = graphql_context .get_context (),
105105 )
106106
107- kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name )
107+ kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name , duplicate = False )
108108 attrib = kind .get_attribute (attribute )
109109 dropdown_entry = {}
110110 success = False
@@ -141,7 +141,7 @@ async def mutate(
141141 graphql_context : GraphqlContext = info .context
142142
143143 _validate_schema_permission (graphql_context = graphql_context )
144- kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name )
144+ kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name , duplicate = False )
145145 await apply_external_context (graphql_context = graphql_context , context_input = context )
146146
147147 attribute = str (data .attribute )
@@ -197,7 +197,7 @@ async def mutate(
197197 graphql_context : GraphqlContext = info .context
198198
199199 _validate_schema_permission (graphql_context = graphql_context )
200- kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name )
200+ kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name , duplicate = False )
201201 await apply_external_context (graphql_context = graphql_context , context_input = context )
202202
203203 attribute = str (data .attribute )
@@ -243,7 +243,7 @@ async def mutate(
243243 graphql_context : GraphqlContext = info .context
244244
245245 _validate_schema_permission (graphql_context = graphql_context )
246- kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name )
246+ kind = graphql_context .db .schema .get (name = str (data .kind ), branch = graphql_context .branch .name , duplicate = False )
247247 await apply_external_context (graphql_context = graphql_context , context_input = context )
248248
249249 attribute = str (data .attribute )
0 commit comments