Skip to content

Commit a0d8b71

Browse files
committed
Remove blinker dependency
1 parent b564e14 commit a0d8b71

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

graphene/signals.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
from blinker import Signal
1+
try:
2+
from blinker import Signal
3+
except ImportError:
4+
class Signal(object):
5+
def send(self, *args, **kwargs):
6+
pass
27

38
init_schema = Signal()
49
class_prepared = Signal()

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def run_tests(self):
5555

5656
install_requires=[
5757
'six>=1.10.0',
58-
'blinker',
5958
'graphql-core==0.4.9',
6059
'graphql-relay==0.3.3'
6160
],

0 commit comments

Comments
 (0)