
from __future__ import unicode_literals

from .auth.jwt_auth import JWTAuth
from .auth.oauth2 import OAuth2
from .client import Client
from .object import *  # pylint:disable=wildcard-import,redefined-builtin


from __future__ import unicode_literals

try:
    from .auth.jwt_auth import JWTAuth
except ImportError:
    JWTAuth = None  # If extras are not installed, JWTAuth won't be available.
from .auth.oauth2 import OAuth2
from .client import Client
from .object import *  # pylint:disable=wildcard-import,redefined-builtin

Fix import error when [jwt] not installed.
Fix import error when [jwt] not installed.

  
  from __future__ import unicode_literals
  
+ try:
- from .auth.jwt_auth import JWTAuth
+     from .auth.jwt_auth import JWTAuth
+ except ImportError:
+     JWTAuth = None  # If extras are not installed, JWTAuth won't be available.
  from .auth.oauth2 import OAuth2
  from .client import Client
  from .object import *  # pylint:disable=wildcard-import,redefined-builtin
  
Fix import error when [jwt] not installed.
## Code Before:

from __future__ import unicode_literals

from .auth.jwt_auth import JWTAuth
from .auth.oauth2 import OAuth2
from .client import Client
from .object import *  # pylint:disable=wildcard-import,redefined-builtin

## Instruction:
Fix import error when [jwt] not installed.
## Code After:

from __future__ import unicode_literals

try:
    from .auth.jwt_auth import JWTAuth
except ImportError:
    JWTAuth = None  # If extras are not installed, JWTAuth won't be available.
from .auth.oauth2 import OAuth2
from .client import Client
from .object import *  # pylint:disable=wildcard-import,redefined-builtin
