Skip to content

Commit

Permalink
Added Enum to graphql pyutils compat
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jul 19, 2018
1 parent 24687b6 commit 14f14d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions graphql/pyutils/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
import sys
import types

try:
from enum import Enum
except ImportError:
from .enum import Enum

if False:
from typing import Callable

Expand Down

0 comments on commit 14f14d3

Please sign in to comment.