From 1c9252286913587d8b0253d30aac8d928502c6eb Mon Sep 17 00:00:00 2001 From: weiyang Date: Tue, 25 Jun 2019 15:42:25 +0800 Subject: [PATCH] [core] Fix 'Operation.server' Signed-off-by: weiyang --- oai_request/core.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/oai_request/core.py b/oai_request/core.py index 5348652..b520778 100644 --- a/oai_request/core.py +++ b/oai_request/core.py @@ -218,7 +218,13 @@ def _collect_operations(self): if type(v) is not list: self._operations[operation_id] = [v] self._operations[operation_id].append( - Operation(path, method, op_spec, requestor=self._requestor) + Operation( + path, + method, + op_spec, + requestor=self._requestor, + server=self._server, + ) ) def load_from_url(self, url):