mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
Removed global env from grapheme
This commit is contained in:
parent
a1c7d3e3de
commit
47bd3d3926
|
@ -12,10 +12,6 @@ from graphene.core.schema import (
|
|||
Schema
|
||||
)
|
||||
|
||||
from graphene.env import (
|
||||
get_global_schema
|
||||
)
|
||||
|
||||
from graphene.core.types import (
|
||||
ObjectType,
|
||||
Interface
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user