Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
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

@richvdh

Description

@richvdh

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).

We should change their definitions to Collection.

Metadata

Metadata

Assignees

Labels

T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions