We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f9d05 commit f97a3ceCopy full SHA for f97a3ce
src/graphql_relay/connection/arrayconnection.py
@@ -0,0 +1,28 @@
1
+import warnings
2
+
3
+from .array_connection import (
4
+ connection_from_array,
5
+ connection_from_array_slice,
6
+ cursor_for_object_in_connection,
7
+ cursor_to_offset,
8
+ get_offset_with_default,
9
+ offset_to_cursor,
10
+)
11
12
13
+warnings.warn(
14
+ "The 'arrayconnection' module is deprecated. "
15
+ "Functions should be imported from the top-level package instead.",
16
+ DeprecationWarning,
17
+ stacklevel=2,
18
19
20
21
+__all__ = [
22
+ "connection_from_array",
23
+ "connection_from_array_slice",
24
+ "cursor_for_object_in_connection",
25
+ "cursor_to_offset",
26
+ "get_offset_with_default",
27
+ "offset_to_cursor",
28
+]
0 commit comments