Skip to content

Commit

Permalink
Merge pull request #435 from utf/fix-aws-import
Browse files Browse the repository at this point in the history
Fix aws module import
  • Loading branch information
shyamd committed May 12, 2021
2 parents 8472d59 + 6952076 commit 3d00e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maggma/stores/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union

import msgpack # type: ignore
from botocore.exceptions import ClientError
from monty.dev import deprecated
from monty.msgpack import default as monty_default

Expand All @@ -22,8 +21,9 @@
try:
import boto3
import botocore
from botocore.exceptions import ClientError
from boto3.session import Session
except ImportError:
except (ImportError, ModuleNotFoundError):
boto3 = None # type: ignore


Expand Down

0 comments on commit 3d00e7f

Please sign in to comment.