Skip to content

Commit c58f756

Browse files
author
Tobias Kölling
committed
undo naming change to keep tests happy
1 parent f3e0507 commit c58f756

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ipfsspec/async_ipfs.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, retry_after=None):
2121
self.retry_after = retry_after
2222

2323

24-
class AsyncGatewayBase:
24+
class AsyncIPFSGatewayBase:
2525
async def stat(self, path, session):
2626
res = await self.api_get("files/stat", session, arg=path)
2727
self._raise_not_found_for_status(res, path)
@@ -87,7 +87,7 @@ def _raise_not_found_for_status(self, response, url):
8787
response.raise_for_status()
8888

8989

90-
class AsyncGateway(AsyncGatewayBase):
90+
class AsyncIPFSGateway(AsyncIPFSGatewayBase):
9191
resolution = "path"
9292

9393
def __init__(self, url, protocol="ipfs"):
@@ -151,7 +151,7 @@ def gateway_from_file(gateway_path, protocol="ipfs"):
151151
with open(gateway_path) as gw_file:
152152
ipfs_gateway = gw_file.readline().strip()
153153
logger.debug("using IPFS gateway from %s: %s", gateway_path, ipfs_gateway)
154-
return AsyncGateway(ipfs_gateway, protocol=protocol)
154+
return AsyncIPFSGateway(ipfs_gateway, protocol=protocol)
155155
return None
156156

157157

0 commit comments

Comments
 (0)