Removed global env from grapheme

This commit is contained in:
Syrus Akbary 2015-10-03 12:23:39 -07:00
parent a1c7d3e3de
commit 47bd3d3926
2 changed files with 0 additions and 14 deletions

View File

@ -12,10 +12,6 @@ from graphene.core.schema import (
Schema Schema
) )
from graphene.env import (
get_global_schema
)
from graphene.core.types import ( from graphene.core.types import (
ObjectType, ObjectType,
Interface Interface

View File

@ -1,10 +0,0 @@
from graphene.core.schema import Schema
_global_schema = None
def get_global_schema():
global _global_schema
if not _global_schema:
_global_schema = Schema(name='Global Schema')
return _global_schema