mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-15 14:42:06 +03:00
Code style
This commit is contained in:
parent
eeb714caad
commit
459c8286d7
|
@ -321,7 +321,6 @@ class GraphQLView(View):
|
|||
# executor is not a valid argument in all backends
|
||||
extra_options["executor"] = self.executor
|
||||
|
||||
operation_type = document.get_operation_type(operation_name)
|
||||
options = {
|
||||
"root_value": self.get_root_value(request),
|
||||
"variable_values": variables,
|
||||
|
@ -331,6 +330,7 @@ class GraphQLView(View):
|
|||
}
|
||||
options.update(extra_options)
|
||||
|
||||
operation_type = document.get_operation_type(operation_name)
|
||||
if operation_type == "mutation" and (
|
||||
graphene_settings.ATOMIC_MUTATIONS is True
|
||||
or connection.settings_dict.get("ATOMIC_MUTATIONS", False) is True
|
||||
|
|
Loading…
Reference in New Issue
Block a user