Charles Li

Results 18 comments of Charles Li

Hi -- I'm actually not familiar with `conda` packaging, but I will try to go through the documentation and publish to conda-forge when I have some time. Alternatively, any help...

Hi, thanks for reporting this issue. Agreed, that the behavior should be configurable. As for why this is happening, here's a blurb from the `json` documentation (which backs `to_json`): >...

Hi @alanfranz I'm sorry for not responding. The answer is you can achieve what you want with the library as is and plain Python: ```python DataClassJsonMixin.to_json(MyClass, my_class_instance) DataClassJsonMixin.from_json(MyClass, my_class_instance) ```...

@alanfranz sorry my mistake, when I responded I didn't have my laptop with me and was going off memory I meant to suggest your 2nd example `DataClassJsonMixin.to_json(a)` but it leads...

Hi @djmattyg007, thanks for reporting this > is this magic support for mixed casing by from_dict() intentional? your suspicion is right that this wasn't intentional, it should be an error...

this is probably a general problem of visibility of the class decorator to static type checkers -- i've begun looking into various solutions for this

I recognize the problem of non-serializable fields and appreciate your efforts to enhance / improve the library. At the same time I'm worried about library bloat. This seems like an...

Yep I think this would be great as documentation! On a separate note, I am working on generating web documentation for this library, as I think a single README file...

Yes I'm sorry I've been MIA... I'll take a look soon!

> How can I tell from_json to treat the Generic as ClassB? i just tried, and your example should successfully `.from_json` at runtime. or are you talking about static `typing`...