File tree 1 file changed +3
-3
lines changed
src/py/reactpy/reactpy/backend
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
def use_connection () -> Connection [Any ]: # nocov
12
12
"""Get the current :class:`~reactpy.backend.types.Connection`."""
13
13
warn (
14
- "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. " ,
14
+ "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. "
15
15
"Call reactpy.use_connection instead." ,
16
16
DeprecationWarning ,
17
17
)
@@ -26,7 +26,7 @@ def use_connection() -> Connection[Any]: # nocov
26
26
def use_scope () -> MutableMapping [str , Any ]: # nocov
27
27
"""Get the current :class:`~reactpy.backend.types.Connection`'s scope."""
28
28
warn (
29
- "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. " ,
29
+ "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. "
30
30
"Call reactpy.use_scope instead." ,
31
31
DeprecationWarning ,
32
32
)
@@ -37,7 +37,7 @@ def use_scope() -> MutableMapping[str, Any]: # nocov
37
37
def use_location () -> Location : # nocov
38
38
"""Get the current :class:`~reactpy.backend.types.Connection`'s location."""
39
39
warn (
40
- "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. " ,
40
+ "The module reactpy.backend.hooks has been deprecated and will be deleted in the future. "
41
41
"Call reactpy.use_location instead." ,
42
42
DeprecationWarning ,
43
43
)
You can’t perform that action at this time.
0 commit comments