You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chunk_size (int | None): Number of containers to return in each chunk. Defaults to yielding one container a time.
76
80
space (str | None): The space to query.
77
81
include_global (bool): Whether the global containers should be returned.
82
+
used_for (ContainerUsedFor | Sequence[ContainerUsedFor] | None): Only include containers marked for these purposes. If omitted, containers of every kind (nodes, edges, and records) are returned.
78
83
limit (int | None): Maximum number of containers to return. Defaults to returning all items.
79
84
80
85
Yields:
81
86
Container | ContainerList: yields Container one by one if chunk_size is not specified, else ContainerList objects.
limit (int | None): Maximum number of containers to return. Defaults to 10. Set to -1, float("inf") or None to return all items.
235
241
include_global (bool): Whether the global containers should be returned.
242
+
used_for (ContainerUsedFor | Sequence[ContainerUsedFor] | None): Only include containers marked for these purposes. If omitted, containers of every kind (nodes, edges, and records) are returned.
236
243
237
244
Returns:
238
245
ContainerList: List of requested containers
@@ -246,6 +253,16 @@ async def list(
246
253
>>> # async_client = AsyncCogniteClient() # another option
chunk_size (int | None): Number of containers to return in each chunk. Defaults to yielding one container a time.
63
75
space (str | None): The space to query.
64
76
include_global (bool): Whether the global containers should be returned.
77
+
used_for (ContainerUsedFor | Sequence[ContainerUsedFor] | None): Only include containers marked for these purposes. If omitted, containers of every kind (nodes, edges, and records) are returned.
65
78
limit (int | None): Maximum number of containers to return. Defaults to returning all items.
66
79
67
80
Yields:
68
81
Container | ContainerList: yields Container one by one if chunk_size is not specified, else ContainerList objects.
limit (int | None): Maximum number of containers to return. Defaults to 10. Set to -1, float("inf") or None to return all items.
181
195
include_global (bool): Whether the global containers should be returned.
196
+
used_for (ContainerUsedFor | Sequence[ContainerUsedFor] | None): Only include containers marked for these purposes. If omitted, containers of every kind (nodes, edges, and records) are returned.
182
197
183
198
Returns:
184
199
ContainerList: List of requested containers
@@ -192,6 +207,16 @@ def list(
192
207
>>> # async_client = AsyncCogniteClient() # another option
0 commit comments