Xdynix

Results 37 comments of Xdynix

Sharing a monkeypatch I used to suppress this behavior. The behavior of the `uuid` converter has always been to return a UUID instance since Django 2.0. I don't really think...

@ncrozz This is #1245. It's just a warning and shouldn't prevent the code from execution.

This issue is probably beyond the scope of Django Ninja, but I think it would be helpful if the documentation mentioned it. My current workaround is to create a decorator...

> ... changed from: > ```python > result = callback(request) > ``` > to: > ```python > result = await sync_to_async(callback)(request) > ``` This does work. However, one argument I...

I totally agree with your point, I don't mind the context switch here either. I’m mostly raising the argument for completeness and to document the trade-offs.

Sharing a stub I created for `python-decouple`. I placed it in `etc/stubs/decouple.pyi` and configured `mypy` to recognize it by adding the following to `pyproject.toml`: ```toml [tool.mypy] mypy_path = "etc/stubs" ```...

> I think you meant #6416. Ah yes you're absolutely right, my finger slipped. 🤦

Can I ask about the planned timeline for this release? It actually has the fix I'm looking for (#6416). Or is there anything I can do to speed it up?

Got it, thanks for the reply.