-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for type annotations, typing.TypedDict and python dataclasses #167
base: develop
Are you sure you want to change the base?
Conversation
@@ -88,7 +88,7 @@ class GenFactory(_.with_metaclass(GenFactoryMeta)): | |||
t.URL: faker.url, | |||
t.UUID: faker.uuid, | |||
t.JSON: faker.json, | |||
type(None): '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was there an empty string value?
Added support for python dataclasses as well. closes #113 |
Hey @jvllmr, is there an ETA or any plans to merge this PR? I'm really interested in use faker to randomize dataclass instances =D |
I'm not the maintainer so I don't have any influence on the process. |
Any opinion on this, @klen ? |
My implementation of type annotations and typing.TypedDict support.
I hope you don't mind the changed quotes in test_main.py, I forgot that my formatter is enabled :(
closes #166