class_docstr: The result of execution. `data` is the result of executing the
  query, `errors` is null if no errors occurred, and is a
  non-empty array if an error occurred.
class_docstr_tok: ["The","result","of","execution",".","`","data","`","is","the","result","of","executing","the","query",",","`","errors","`","is","null","if","no","errors","occurred",",","and","is","a","non-empty","array","if","an","error","occurred","."]
code: def __init__(self, data=None, errors=None, invalid=False):
      self.data = data
      self.errors = errors
  
      if invalid:
          assert data is None
  
      self.invalid = invalid
  
imports: from ..error import GraphQLError
  from ..language import ast
  from ..pyutils.default_ordered_dict import DefaultOrderedDict
  from ..type.definition import GraphQLInterfaceType, GraphQLUnionType
  from ..type.directives import GraphQLIncludeDirective, GraphQLSkipDirective
  from ..type.introspection import SchemaMetaFieldDef, TypeMetaFieldDef, TypeNameMetaFieldDef
  from ..utils.type_from_ast import type_from_ast
  from .values import get_argument_values, get_variable_values
label_desc: Use image node_id 1 to create a new ExecutionResult object from inherited base classes: object with example: obj = ExecutionResult(data, errors, invalid)