lisa.fuzz.Dict#

class lisa.fuzz.Dict(n, xs, typ=None)[source]#

Bases: Choices

Same as lisa.fuzz.Choices but returns a dictionary.

Note

The input must be an iterable of tuple(key, value).

Note

The values are drawn without replacement to ensure the dict is of the correct size, assuming the input contained no duplicate.

Methods

__await__() inherited

Methods#

Dict.__await__()#

Inherited method, see lisa.fuzz.Gen.__await__()