Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123450
D8992.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8992.diff
View Options
diff --git a/swh/graph/http_rpc_server.py b/swh/graph/http_rpc_server.py
--- a/swh/graph/http_rpc_server.py
+++ b/swh/graph/http_rpc_server.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2022 The Software Heritage developers
+# Copyright (C) 2019-2023 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
@@ -19,7 +19,6 @@
from google.protobuf.field_mask_pb2 import FieldMask
import grpc
-from swh.core.api.asynchronous import RPCServerApp
from swh.core.config import read as config_read
from swh.graph.grpc.swhgraph_pb2 import (
GetNodeRequest,
@@ -61,7 +60,7 @@
return middleware_handler
-class GraphServerApp(RPCServerApp):
+class GraphServerApp(aiohttp.web.Application):
def __init__(self, *args, middlewares=(), **kwargs):
middlewares = (_aiorpcerror_middleware,) + middlewares
super().__init__(*args, middlewares=middlewares, **kwargs)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 9:09 AM (15 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3213539
Attached To
D8992: Remove unused dependency on swh.core.api.asynchronous
Event Timeline
Log In to Comment