Adrian Dankiv
Adrian Dankiv
Hi! I have the same problem. Do you have some progress with this?
You can try something like that: ```python from typing import List from polymorphic.models import PolymorphicModel from polymorphic.query import PolymorphicQuerySet class SelectRelatedPolymorphicQuerySet(PolymorphicQuerySet): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.used_select_related_cache = False...
Actually, no. I have code like this `pool.imap_unordered(unpack(process), iterable)`. But you are right: in other cases, I can use `starmap`. So this function is very specific and I don't know...
Yes, `process()` is my own function, but I don't want to change it. > Other considerations (if we are going to add it) are name and keyword args support, which...
I found a workaround: tarfile.py: ``` @staticmethod def _create_header(info, format, encoding, errors): """Return a header block. info is a dictionary with file information, format must be one of the *_FORMAT...
Hi, just find `tarfile.py` and change `_create_header` function as in my previous comment
> > I found a workaround: > > tarfile.py: > > ``` > > @staticmethod > > def _create_header(info, format, encoding, errors): > > """Return a header block. info is...
Hi! If you want to have (more) proper typing, you may wish to use TypedModel: ```py class User(TypedModel): name: str age: int | None # if nullable ``` About type...
Hi! It is implemented in v1.8.0 (not released yet)
I added support in [this](https://github.com/octabytes/FireO/pull/180) PR. It allows any number of levels of nested objects/lists