Add overlapping (consistent) flake cache insert test
* Additionally, update `insert`'s input type hint to support None values (as they are already selectable and (one shot) insertable). This is necessary to appease the linter wrt the added test.
This commit is contained in:
committed by
tangential
parent
74fb3abbc7
commit
5e2b5fe213
@@ -154,7 +154,9 @@ class FlakeCacheEntry:
|
||||
self.value = value
|
||||
|
||||
def insert(
|
||||
self, value: str | float | dict[str, Any] | list[Any], selectors: list[Selector]
|
||||
self,
|
||||
value: str | float | dict[str, Any] | list[Any] | None,
|
||||
selectors: list[Selector],
|
||||
) -> None:
|
||||
selector: Selector
|
||||
if selectors == []:
|
||||
|
||||
Reference in New Issue
Block a user