Benoît Godard

Results 10 comments of Benoît Godard

Forgot to mention that, I'm using Flask

Got the exact same issue. Moreover, VSCode do not provide autocompletion for attributes available on the dataclass_json package. Typing `from dataclass_json import ...` do not provide anything

I was looking for this, thank you! I think this should end up in the documentation as well.

For people interested in using ReDoc instead of swagger UI I found a super simple solution. In my python project package I simply added a `templates` folder including a single...

I know this is old but, if someday you decide to switch, I strongly suggest you to have a look at [PDM](https://pdm.fming.dev/latest/) as well which is a solid choice

Please note that since the previous comment, pydantic-factories evolved to polyfactory: https://polyfactory.litestar.dev/. That new library is providing most of missing features listed above (AFAIK) and has dedicated factories for Pydantic...

I've red the issue you've linked and it might be related indeed. I'm just not sure if the "tab completion" in REPL is the same as for VSCode Python extension....

Thé issue is that Faker instances are mostly proxies around providers. This dynamic behavior cause static type checking tools to not be able to resolve types because they’re not aware...

In the meanwhile, I found the following workaround. It is a bit of a hack to trick the type checker ```python from typing import cast from faker import Faker, Generator...

I don’t remember having such an issue. Maybe because I disabled pyright and I’m using mypy for type checking? I’ll have to check that on Monday. Anyway as I mentioned,...