Skip to content

Conversation

@jvllmr
Copy link

@jvllmr jvllmr commented Jul 10, 2022

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

t.URL: faker.url,
t.UUID: faker.uuid,
t.JSON: faker.json,
type(None): '',
Copy link
Author

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?

@jvllmr jvllmr changed the title Add support for type annotations and typing.TypedDict Add support for type annotations, typing.TypedDict and python dataclasses Jul 10, 2022
@jvllmr
Copy link
Author

jvllmr commented Jul 10, 2022

Added support for python dataclasses as well.

closes #113

@gcavalcante8808
Copy link

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

@jvllmr
Copy link
Author

jvllmr commented Feb 28, 2023

I'm not the maintainer so I don't have any influence on the process.

@jvllmr
Copy link
Author

jvllmr commented Mar 1, 2023

Any opinion on this, @klen ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for type annotations and TypedDict

2 participants