Skip to content

Commit

Permalink
[deploy test]
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Sep 11, 2021
1 parent 686f976 commit 0179ca6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import numpy as np
import pandas as pd
from dash import Dash, no_update, callback_context, Input, Output, State, ALL
from dash.dash import _NoUpdate
from dash.exceptions import PreventUpdate

from webviz_subsurface._models import SurfaceLeafletModel
Expand Down Expand Up @@ -64,11 +65,11 @@ def _update_surface(
def _update_correlation_figure(
label: str, ensemble: str
) -> Tuple[
Union[float, no_update],
Union[float, no_update],
Union[float, no_update],
Union[float, _NoUpdate],
Union[float, _NoUpdate],
Union[float, _NoUpdate],
list,
Union[dict, no_update],
Union[dict, _NoUpdate],
bool,
]:
if label is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import xtgeo
from dash import Dash, callback_context, no_update, Input, Output, State
from dash.dash import _NoUpdate
from dash.exceptions import PreventUpdate

from webviz_subsurface._models import SurfaceSetModel, SurfaceLeafletModel, WellSetModel
Expand Down Expand Up @@ -342,7 +343,7 @@ def _store_polyline_points(
def _update_from_map_click(
clicked_shape: Optional[Dict],
_polyline: List[List[float]],
) -> Tuple[str, Union[no_update, str]]:
) -> Tuple[str, Union[_NoUpdate, str]]:
"""Update intersection source and optionally selected well when
user clicks a shape in map"""
ctx = callback_context.triggered[0]
Expand Down

0 comments on commit 0179ca6

Please sign in to comment.