aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/storage3/utils.py
blob: 9689fc8e3d42c4cc2792687062d6270c182b21a6 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
from httpx import AsyncClient as AsyncClient  # noqa: F401
from httpx import Client as BaseClient


class SyncClient(BaseClient):
    def aclose(self) -> None:
        self.close()


class StorageException(Exception):
    """Error raised when an operation on the storage API fails."""