Skip to content
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

Question - How does this play with dacite? #45

Open
MrBlenny opened this issue May 7, 2021 · 2 comments
Open

Question - How does this play with dacite? #45

MrBlenny opened this issue May 7, 2021 · 2 comments
Labels
question Further information is requested

Comments

@MrBlenny
Copy link

MrBlenny commented May 7, 2021

This project looks great!

I've been heavily using dacite - in particular, the from_dict method to initialise a nested data class from a nested dictionary.

Have you come across this library? What would be required for these to work together?

@biqqles
Copy link
Owner

biqqles commented May 7, 2021

No idea what would be required without trying it (I haven't used the library before). You can see #37 for a similar scenario.

The core feature of a way to create instances recursively would be good and doesn't seem too difficult. I will think about adding it to this library.

@biqqles biqqles added the question Further information is requested label May 7, 2021
biqqles added a commit that referenced this issue May 12, 2021
@biqqles
Copy link
Owner

biqqles commented May 12, 2021

I added a quick implementation of this to the 'from_dict' branch. Would you be able to try it and tell me what you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants