File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def has_context(func):
9
9
def assert_context (* args , ** kwargs ):
10
10
if not flask .has_request_context ():
11
11
raise exceptions .MissingCallbackContextException (
12
- ( "dash.callback_context.{} is only available from a callback!" ) .format (
12
+ "dash.callback_context.{} is only available from a callback!" .format (
13
13
getattr (func , "__name__" )
14
14
)
15
15
)
Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ def shape_or_exact():
516
516
)
517
517
),
518
518
# React's PropTypes.objectOf
519
- objectOf = lambda : ( "dict with strings as keys and values of type {}" ) .format (
519
+ objectOf = lambda : "dict with strings as keys and values of type {}" .format (
520
520
js_to_py_type (type_object ["value" ])
521
521
),
522
522
# React's PropTypes.shape
Original file line number Diff line number Diff line change @@ -849,7 +849,7 @@ def shape_or_exact():
849
849
)
850
850
),
851
851
# React's PropTypes.objectOf
852
- objectOf = lambda : ( "list with named elements and values of type {}" ) .format (
852
+ objectOf = lambda : "list with named elements and values of type {}" .format (
853
853
get_r_type (type_object ["value" ])
854
854
),
855
855
# React's PropTypes.shape
You can’t perform that action at this time.
0 commit comments