sunmy2019
sunmy2019
After some bug fixes since 1.7.0, now these lines was responsible for converting dicts. https://github.com/konradhalas/dacite/blob/02ee99348d4c8354fa309b8d1f3525dafda592e6/dacite/core.py#L140-L142 Clearly, we see that from line 142, `key` is not applied with `type_hooks` in the...
This change is caused by the fix of #94. In previous version, it guess which one should be matched and then construct once. In currect version, it construct several times...
I understand your concern, but I don't think the old "guess and construct" logic is reasonable. Consider the following case, ```python @dataclass class A: a: str def __post_init__(self): raise Exception("test...
Technically, we do have a way to hack `dataclass` with `__post_init__`. But I don't know whether it should be implemented. The most elegant way is to check whether this Exception...
```py import sys, traceback # ... except Exception: # pylint: disable=broad-except tb = sys.exc_info()[-1] if traceback.extract_tb(tb)[-1].name == "__post_init__": raise else: continue ``` I had thought about this way first, but...
In `config-rs`, the `variant_seed` cannot create a deserializer on enums with unrecognized values. https://github.com/mehcode/config-rs/blob/57fb2610ad274dff1d2f2e4d43dfce05ca9c4835/src/de.rs#L279-L293 `variant_deserializer` only allows name with given str. https://github.com/mehcode/config-rs/blob/57fb2610ad274dff1d2f2e4d43dfce05ca9c4835/src/de.rs#L244-L250 --- I got a straightforward fix to demostrate...
duplicate of https://github.com/rapiz1/rathole/issues/168 I am planning to add protocol description in the future. Stability guarantee is one of the biggest challenge.
> You guys just keep saying that you all experiencing this, but no one provide any configuration example or useful information, what a joke. Don't be so rude. I am...