prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Remove superfluous schema validation
  It turns out that  `validate_schema` called in https://github.com/mirumee/ariadne/blob/master/ariadne/executable_schema.py#L26 is not needed here. 
  In the other hand, `assert_validate_schema` is called here: https://github.com/mirumee/ariadne/blob/master/ariadne/executable_schema.py#L40 which is sufficient. 
  
  Fixes #523 
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `ariadne/executable_schema.py`
  Content:
  ```
  1 from typing import Dict, List, Type, Union
  2 
  3 from graphql import (
  4     GraphQLSchema,
  5     assert_valid_schema,
  6     build_ast_schema,
  7     parse,
  8     validate_schema,
  9 )
  10 
  11 from .enums import set_default_enum_values_on_schema
  12 from .schema_visitor import SchemaDirectiveVisitor
  13 from .types import SchemaBindable
  14 
  15 
  16 def make_executable_schema(
  17     type_defs: Union[str, List[str]],
  18     *bindables: Union[SchemaBindable, List[SchemaBindable]],
  19     directives: Dict[str, Type[SchemaDirectiveVisitor]] = None,
  20 ) -> GraphQLSchema:
  21     if isinstance(type_defs, list):
  22         type_defs = join_type_defs(type_defs)
  23 
  24     ast_document = parse(type_defs)
  25     schema = build_ast_schema(ast_document)
  26     validate_schema(schema)
  27 
  28     for bindable in bindables:
  29         if isinstance(bindable, list):
  30             for obj in bindable:
  31                 obj.bind_to_schema(schema)
  32         else:
  33             bindable.bind_to_schema(schema)
  34 
  35     set_default_enum_values_on_schema(schema)
  36 
  37     if directives:
  38         SchemaDirectiveVisitor.visit_schema_directives(schema, directives)
  39 
  40     assert_valid_schema(schema)
  41 
  42     return schema
  43 
  44 
  45 def join_type_defs(type_defs: List[str]) -> str:
  46     return "\n\n".join(t.strip() for t in type_defs)
  47
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/ariadne/executable_schema.py b/ariadne/executable_schema.py
  --- a/ariadne/executable_schema.py
  +++ b/ariadne/executable_schema.py
  @@ -5,7 +5,6 @@
       assert_valid_schema,
       build_ast_schema,
       parse,
  -    validate_schema,
   )
   
   from .enums import set_default_enum_values_on_schema
  @@ -23,7 +22,6 @@
   
       ast_document = parse(type_defs)
       schema = build_ast_schema(ast_document)
  -    validate_schema(schema)
   
       for bindable in bindables:
           if isinstance(bindable, list):
  
verification_info: {"golden_diff": "diff --git a/ariadne/executable_schema.py b/ariadne/executable_schema.py\n--- a/ariadne/executable_schema.py\n+++ b/ariadne/executable_schema.py\n@@ -5,7 +5,6 @@\n     assert_valid_schema,\n     build_ast_schema,\n     parse,\n-    validate_schema,\n )\n \n from .enums import set_default_enum_values_on_schema\n@@ -23,7 +22,6 @@\n \n     ast_document = parse(type_defs)\n     schema = build_ast_schema(ast_document)\n-    validate_schema(schema)\n \n     for bindable in bindables:\n         if isinstance(bindable, list):\n", "issue": "Remove superfluous schema validation\nIt turns out that  `validate_schema` called in https://github.com/mirumee/ariadne/blob/master/ariadne/executable_schema.py#L26 is not needed here. \r\nIn the other hand, `assert_validate_schema` is called here: https://github.com/mirumee/ariadne/blob/master/ariadne/executable_schema.py#L40 which is sufficient. \r\n\r\nFixes #523 \n", "before_files": [{"content": "from typing import Dict, List, Type, Union\n\nfrom graphql import (\n    GraphQLSchema,\n    assert_valid_schema,\n    build_ast_schema,\n    parse,\n    validate_schema,\n)\n\nfrom .enums import set_default_enum_values_on_schema\nfrom .schema_visitor import SchemaDirectiveVisitor\nfrom .types import SchemaBindable\n\n\ndef make_executable_schema(\n    type_defs: Union[str, List[str]],\n    *bindables: Union[SchemaBindable, List[SchemaBindable]],\n    directives: Dict[str, Type[SchemaDirectiveVisitor]] = None,\n) -> GraphQLSchema:\n    if isinstance(type_defs, list):\n        type_defs = join_type_defs(type_defs)\n\n    ast_document = parse(type_defs)\n    schema = build_ast_schema(ast_document)\n    validate_schema(schema)\n\n    for bindable in bindables:\n        if isinstance(bindable, list):\n            for obj in bindable:\n                obj.bind_to_schema(schema)\n        else:\n            bindable.bind_to_schema(schema)\n\n    set_default_enum_values_on_schema(schema)\n\n    if directives:\n        SchemaDirectiveVisitor.visit_schema_directives(schema, directives)\n\n    assert_valid_schema(schema)\n\n    return schema\n\n\ndef join_type_defs(type_defs: List[str]) -> str:\n    return \"\\n\\n\".join(t.strip() for t in type_defs)\n", "path": "ariadne/executable_schema.py"}], "after_files": [{"content": "from typing import Dict, List, Type, Union\n\nfrom graphql import (\n    GraphQLSchema,\n    assert_valid_schema,\n    build_ast_schema,\n    parse,\n)\n\nfrom .enums import set_default_enum_values_on_schema\nfrom .schema_visitor import SchemaDirectiveVisitor\nfrom .types import SchemaBindable\n\n\ndef make_executable_schema(\n    type_defs: Union[str, List[str]],\n    *bindables: Union[SchemaBindable, List[SchemaBindable]],\n    directives: Dict[str, Type[SchemaDirectiveVisitor]] = None,\n) -> GraphQLSchema:\n    if isinstance(type_defs, list):\n        type_defs = join_type_defs(type_defs)\n\n    ast_document = parse(type_defs)\n    schema = build_ast_schema(ast_document)\n\n    for bindable in bindables:\n        if isinstance(bindable, list):\n            for obj in bindable:\n                obj.bind_to_schema(schema)\n        else:\n            bindable.bind_to_schema(schema)\n\n    set_default_enum_values_on_schema(schema)\n\n    if directives:\n        SchemaDirectiveVisitor.visit_schema_directives(schema, directives)\n\n    assert_valid_schema(schema)\n\n    return schema\n\n\ndef join_type_defs(type_defs: List[str]) -> str:\n    return \"\\n\\n\".join(t.strip() for t in type_defs)\n", "path": "ariadne/executable_schema.py"}]}