11# Generated by ariadne-codegen
22
3- from typing import Any , Dict , Optional
3+ from typing import Any , Dict , List , Optional
44
55from . import NodeType
66from .custom_fields import (
@@ -35,16 +35,16 @@ def find_nodes(
3535 cls ,
3636 * ,
3737 fragment : Optional [str ] = None ,
38- names : Optional [str ] = None ,
39- node_types : Optional [NodeType ] = None ,
40- tags : Optional [str ] = None ,
38+ names : Optional [List [ str ] ] = None ,
39+ node_types : Optional [List [ NodeType ] ] = None ,
40+ tags : Optional [List [ str ] ] = None ,
4141 limit : Optional [int ] = None
4242 ) -> NodeFields :
4343 arguments : Dict [str , Dict [str , Any ]] = {
4444 "fragment" : {"type" : "String" , "value" : fragment },
45- "names" : {"type" : "String" , "value" : names },
46- "nodeTypes" : {"type" : "NodeType" , "value" : node_types },
47- "tags" : {"type" : "String" , "value" : tags },
45+ "names" : {"type" : "[ String!] " , "value" : names },
46+ "nodeTypes" : {"type" : "[ NodeType!] " , "value" : node_types },
47+ "tags" : {"type" : "[ String!] " , "value" : tags },
4848 "limit" : {"type" : "Int" , "value" : limit },
4949 }
5050 cleared_arguments = {
@@ -57,9 +57,9 @@ def find_nodes_paginated(
5757 cls ,
5858 * ,
5959 fragment : Optional [str ] = None ,
60- names : Optional [str ] = None ,
61- node_types : Optional [NodeType ] = None ,
62- tags : Optional [str ] = None ,
60+ names : Optional [List [ str ] ] = None ,
61+ node_types : Optional [List [ NodeType ] ] = None ,
62+ tags : Optional [List [ str ] ] = None ,
6363 edited_by : Optional [str ] = None ,
6464 namespace : Optional [str ] = None ,
6565 after : Optional [str ] = None ,
@@ -68,9 +68,9 @@ def find_nodes_paginated(
6868 ) -> NodeConnectionFields :
6969 arguments : Dict [str , Dict [str , Any ]] = {
7070 "fragment" : {"type" : "String" , "value" : fragment },
71- "names" : {"type" : "String" , "value" : names },
72- "nodeTypes" : {"type" : "NodeType" , "value" : node_types },
73- "tags" : {"type" : "String" , "value" : tags },
71+ "names" : {"type" : "[ String!] " , "value" : names },
72+ "nodeTypes" : {"type" : "[ NodeType!] " , "value" : node_types },
73+ "tags" : {"type" : "[ String!] " , "value" : tags },
7474 "editedBy" : {"type" : "String" , "value" : edited_by },
7575 "namespace" : {"type" : "String" , "value" : namespace },
7676 "after" : {"type" : "String" , "value" : after },
@@ -86,10 +86,10 @@ def find_nodes_paginated(
8686
8787 @classmethod
8888 def common_dimensions (
89- cls , * , nodes : Optional [str ] = None
89+ cls , * , nodes : Optional [List [ str ] ] = None
9090 ) -> DimensionAttributeFields :
9191 arguments : Dict [str , Dict [str , Any ]] = {
92- "nodes" : {"type" : "String" , "value" : nodes }
92+ "nodes" : {"type" : "[ String!] " , "value" : nodes }
9393 }
9494 cleared_arguments = {
9595 key : value for key , value in arguments .items () if value ["value" ] is not None
@@ -135,11 +135,14 @@ def measures_sql(
135135
136136 @classmethod
137137 def list_tags (
138- cls , * , tag_names : Optional [str ] = None , tag_types : Optional [str ] = None
138+ cls ,
139+ * ,
140+ tag_names : Optional [List [str ]] = None ,
141+ tag_types : Optional [List [str ]] = None
139142 ) -> TagFields :
140143 arguments : Dict [str , Dict [str , Any ]] = {
141- "tagNames" : {"type" : "String" , "value" : tag_names },
142- "tagTypes" : {"type" : "String" , "value" : tag_types },
144+ "tagNames" : {"type" : "[ String!] " , "value" : tag_names },
145+ "tagTypes" : {"type" : "[ String!] " , "value" : tag_types },
143146 }
144147 cleared_arguments = {
145148 key : value for key , value in arguments .items () if value ["value" ] is not None
0 commit comments