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 }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
require Collections rather than Iterables in storage functions #11569
There are various methods in DatabasePool (such as simple_insert_many_values) which claim to take arbitrary Iterables as arguments when in fact they cannot be generators (since they may be evaluated more than once: see #11564).
(note: this does not generally apply to _txn variants, because they do not pass their arguments to runInteraction and hence do not evaluate them multiple times.)
Activity
richvdh commentedon Dec 13, 2021
(note: this does not generally apply to
_txnvariants, because they do not pass their arguments torunInteractionand hence do not evaluate them multiple times.)