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
{{ message }}
Repository navigation
version 4 of replace_all_objects() no longer supports iterators #584
I'm in the process of updating from v3 to v4 and noticed that this function no longer seems to support iterators, which will cause problems for our systems that use it to bulk replace large datasets. It's possible that making some fix inside of chunked_batch() is all thats needed to support iterators.
Python: Use an iterator instead of a list to prevent memory issues, especially if you want to replace many records.
Is this an intentional design decision?
Short of re-architecting our syncrhonization strategy, do you have any recommended best practice for those of us using replace_all_objects on sets of data that are too large to fit in a list/memory?
Activity
eric-zaharia commentedon Jun 12, 2026
Hey @iloveagent57! Thank you for flagging this, we just added support for iterators back. The next release will include the feature.
iloveagent57 commentedon Jun 12, 2026
Amazing, thank you all for addressing this!