From 47bd3d392677e1be915acab6ff2b45b5dbf9ab65 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sat, 3 Oct 2015 12:23:39 -0700 Subject: [PATCH] Removed global env from grapheme --- graphene/__init__.py | 4 ---- graphene/env.py | 10 ---------- 2 files changed, 14 deletions(-) delete mode 100644 graphene/env.py diff --git a/graphene/__init__.py b/graphene/__init__.py index 4c16032c..cfcd6177 100644 --- a/graphene/__init__.py +++ b/graphene/__init__.py @@ -12,10 +12,6 @@ from graphene.core.schema import ( Schema ) -from graphene.env import ( - get_global_schema -) - from graphene.core.types import ( ObjectType, Interface diff --git a/graphene/env.py b/graphene/env.py deleted file mode 100644 index a1d43ec5..00000000 --- a/graphene/env.py +++ /dev/null @@ -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