Scorpio

Results 21 comments of Scorpio

Holy thing. Looks like giant work. db_default already affected me. ```shell (venv) ➜ backend git:(main) ✗ mypy server server/apps/main/models.py:25: error: Unexpected keyword argument "db_default" for "CharField"; did you mean "default"?...

> please keep PRs small and focused on one topic If talk about `db_default` at first look it simple: ```python class CharField(Field[_ST, _GT]): def __init__( self, ... db_default: Any =...

@intgr may you advice, please? ```shell Python 3.12.0 (main, Nov 17 2023, 17:15:54) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys...

Here we go... @intgr may you check `files.pyi`, please, not sure that it is correct. `FileField` haven't `_ST` generic in declaration.

I remove `db_default` from `ManyToManyField.__init__()` args at all. Technically it may be passed to init, but latest Django codebase written so ugly, without any forward thinking. That feature should be...

Try to use await: ```python await my_task.delay(arg1, arg2, kwarg1=blabla, kwarg2=blablabla) ```

Same thing. @koxudaxi maybe it happen, because Ruff team moved "per-file-ignores" config from root into "lint" subsection: ```toml [tool.ruff.lint.per-file-ignores] "tests/**" = ["INP001", "S101"] ```

> should work as expected Yes, it work. My bad, ```python parse_whitelist.apply_async(company_id=company.id) ``` working as expected. Do you have any ideas what is future of async `Task`, does Celery team...

```python import abc import asyncio from dishka import Provider, provide, Scope, make_async_container class DepMeta(abc.ABCMeta): registered_deps: list[type] = [] def __new__(mcs, *args, **kwargs) -> type: dep_class = super().__new__(mcs, *args, **kwargs) DepMeta.registered_deps.append(dep_class)...

Absolutely amazing.