summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/libs/op_mode.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/api/graphql/libs/op_mode.py')
-rw-r--r--src/services/api/graphql/libs/op_mode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/api/graphql/libs/op_mode.py b/src/services/api/graphql/libs/op_mode.py
index 6939ed5d6..211f8ce19 100644
--- a/src/services/api/graphql/libs/op_mode.py
+++ b/src/services/api/graphql/libs/op_mode.py
@@ -84,7 +84,7 @@ def map_type_name(type_name: type, optional: bool = False) -> str:
if type_name == int:
return 'Int!' if not optional else 'Int = null'
if type_name == bool:
- return 'Boolean!' if not optional else 'Boolean = false'
+ return 'Boolean = false'
if typing.get_origin(type_name) == list:
if not optional:
return f'[{map_type_name(typing.get_args(type_name)[0])}]!'