Dave Tapley

Results 93 comments of Dave Tapley

@carlcom yikes, that's even worse. Thanks for reporting it 😱 I have a horrible feeling I'm going to have to re-learn Erlang, because AFAICT this is blocked until the API...

@DTB-K yep it looks like this is related to Helium rate limiting their API, I will investigate further.

@DTB-K okay try again now 🤞🏻

Glad you got it to export, thanks for the HNT. Just as an FYI see also: https://github.com/davetapley/helium-tax/discussions/81#discussioncomment-2526514

It depends on [`ack`](https://beyondgrep.com/), but here's a workaround: ```sh ack -t python 'xenon: noqa' -L --print0 | xargs -0 xenon -b B -m A -a A ```

I'd hoped to work around it with this ⬇️ but it doesn't work (same error) 😞 ```py class Serializer: @dispatch def serialize(self, value: MyEnum) -> Any: return value.value class Deserializer:...

I wondered if wrapping in a class might help, but no luck: ```py class MyDict(dict[MyEnum, str]): ... class Serializer: @dispatch def serialize(self, value: MyDict) -> dict[str, str]: return {k.value: v...

Ah, if I wrap it in a class (instead of inheriting) then it works _out of the box_ (i.e. no serializer needed): ```py @dataclass class MyClass: my_dict: dict[MyEnum, str] my_class...

@willmcgugan it would, but the caller would be responsible for figuring out the index.

@rodrigogiraoserrao I _can_ but it won't be pretty because: The fix requires Python 3.9 (for https://peps.python.org/pep-0585/), but the tests also run on 3.8. Note: #2867 is a hard crash anyway,...