Skip to content

Commit ae6b180

Browse files
committed
Implement callGeneratePlotlyGraphQuery in JupyterlabAPIClient
1 parent e0d3631 commit ae6b180

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

jupyterlab/src/apiClient.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import {
44
CompareStudiesPlotType,
55
CreateNewStudyResponse,
66
FeedbackComponentType,
7+
GeneratePlotlyGraphQueryRequest,
8+
GeneratePlotlyGraphQueryResponse,
79
ParamImportancesResponse,
810
PlotResponse,
911
PlotType,
@@ -309,4 +311,11 @@ export class JupyterlabAPIClient extends APIClient {
309311
"Trial filter query is not implemented in JupyterLab API client."
310312
)
311313
}
314+
callGeneratePlotlyGraphQuery(
315+
request: GeneratePlotlyGraphQueryRequest
316+
): Promise<GeneratePlotlyGraphQueryResponse> {
317+
throw new Error(
318+
"Generate plotly graph query is not implemented in JupyterLab API client."
319+
)
320+
}
312321
}

optuna_dashboard/ts/pkg_index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import {
33
APIMeta,
44
CompareStudiesPlotType,
55
CreateNewStudyResponse,
6+
GeneratePlotlyGraphQueryRequest,
7+
GeneratePlotlyGraphQueryResponse,
68
ParamImportancesResponse,
79
PlotResponse,
810
PlotType,
@@ -59,6 +61,8 @@ export {
5961
Trial,
6062
TrialFilterQueryResponse,
6163
TrialFilterQueryRequest,
64+
GeneratePlotlyGraphQueryRequest,
65+
GeneratePlotlyGraphQueryResponse,
6266
CompareStudiesPlotType,
6367
PlotType,
6468
PlotResponse,

0 commit comments

Comments
 (0)