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 16de04b commit 685fa3eCopy full SHA for 685fa3e
doc/source/user_guide/tutorials/data_structures/data_arrays.rst
@@ -566,3 +566,11 @@ a field's data can be recovered locally before sending a large number of request
566
with my_temp_field.as_local_field() as f:
567
for i in range(1,100):
568
f.get_entity_data_by_id(i)
569
+
570
+.. tip::
571
572
+ When using a remote DPF server, accessing a field's data within the ``with`` context manager
573
+ ensures deletion of local data when exiting the ``with`` block. Following this approach is
574
+ advisable for efficient remote processing workflows since it guarantees non-persistence of
575
+ unnecessary local data, especially if the data is not needed beyond the code being executed
576
+ within the ``with`` block.
0 commit comments