Skip to content

Commit

Permalink
[core] Fix 'Operation.server'
Browse files Browse the repository at this point in the history
Signed-off-by: weiyang <[email protected]>
  • Loading branch information
wy-z committed Jun 25, 2019
1 parent 82e6d81 commit 1c92522
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion oai_request/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1c92522

Please sign in to comment.