forked from ITISFoundation/osparc-simcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connect pieces to expose licensed items
- Loading branch information
1 parent
6d220d3
commit a027ecf
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
services/api-server/src/simcore_service_api_server/api/dependencies/webserver_rpc.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from fastapi import FastAPI | ||
from simcore_service_api_server.services_rpc.wb_api_server import WbApiRpcClient | ||
|
||
|
||
def get_wb_api_rpc_client(app: FastAPI) -> WbApiRpcClient: | ||
assert app.state.wb_api_rpc_client # nosec | ||
return app.state.wb_api_rpc_client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters