Wessel

Results 304 comments of Wessel

Hey @gabrieldemarmiesse! Unfortunately I'm not aware of a way to make PyCharm play nice with Plum. :( Multiple dispatch is a programming pattern that's unfortunately poorly supported by existing Python...

It's a shame, albeit completely reasonable of course, to hear that the lack of IDE integration is what's preventing adoption. I've been meaning to look into how difficult some reasonable...

@machow and @wch, ahhhh that's a super interesting approach. How does the below snippet work for you in VS Code? `mypy` seems to be happy with it on my side!...

@gabrieldemarmiesse Let us know how that works for you!!

@gabrieldemarmiesse It seems that `typing_extensions` actually [does provide a `get_overloads`](https://typing-extensions.readthedocs.io/en/latest/#get_overloads) (but which requires the user to use `typing_extensions.overload`), so that might just work! In particular, I think I've managed to...

@gabrieldemarmiesse Alright, that sounds reasonable! Let's start out with a module `plum.overload`, which would work like in the previous example. @machow, `quartodoc` looks super neat!! If you think `quartodoc` would...

I've taking a stab at adding limited type checking support in #93.

Hey @githubpsyche! Thanks for the feedback. It would certainly be possible to elaborate on how the overload pattern works and to expand the code example to multiple arguments. I’ll soon...

@githubpsyche [I've elaborated in the docs and added a more complete example.](https://beartype.github.io/plum/integration.html) I hope things are more clear now! :)

@cjalmeida It's super nice to hear that you managed to swap in Plum without too much trouble! :) Also very cool that you're working on `gamma-config`. I think configuration is...