Skip to content

Commit

Permalink
Optional botocore
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Aug 17, 2023
1 parent 7cbf363 commit 0a2c36d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mp_api/client/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
from urllib.parse import quote, urljoin

import requests
from botocore import UNSIGNED
from botocore.config import Config

from emmet.core.utils import jsanitize
from monty.json import MontyDecoder
from pydantic import BaseModel, create_model
Expand All @@ -33,6 +32,8 @@

try:
import boto3
from botocore import UNSIGNED
from botocore.config import Config
except ImportError:
boto3 = None

Expand Down

0 comments on commit 0a2c36d

Please sign in to comment.