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
class Test:
one: int
two: int
name: str
class Scheme:
name: str
money: int
male: bool
prop: Test
scheme = mixer.blend(Scheme, prop__one=1)
from typing import TypedDict
class Test(TypedDict):
one: int
two: int
name: str
scheme = mixer.blend(Test, name='John') ##{"one": 5, "two": 7, "name": "John"}
Especially support for typed dictionaries would be great for generating test cases. I would like to develop this if other people also find this useful and I have the time.
The text was updated successfully, but these errors were encountered:
Especially support for typed dictionaries would be great for generating test cases. I would like to develop this if other people also find this useful and I have the time.
The text was updated successfully, but these errors were encountered: