David Salvisberg
David Salvisberg
Also you might need to add the last modified header to be present in the file view as well, so the browser has a frame of reference. Since the head...
I'd like to investigate this myself at some point, but I guess there's also the issue of `File` deriving a whole bunch of meta information from `StoredFile` when it is...
> @Daverball I am working on the tests in `test_views_search.py` and can't make them pass. I narrowed the issue down to the hybrid_property resp. expression of `GeneralFile` and `News`. While...
Also as a side note `query.count` is quite inefficient for checking whether or not you have any results, since Postgres will have to find and count all the entries. It's...
Seems like a reasonable addition to me. Typeshed generally aims to model the runtime behavior as well as possible. Here it seems like you could just change the final overload...
@HK-Mattew For your example form this will work but it will not work for all the possible field types since `formdata` is inherently flat and consists of plain strings and...
@HK-Mattew In that case couldn't you just submit the raw formdata, rather than try to create a JSON payload? It seems like a lot of work to juggle around the...
I'll save you the trouble: Yes, it is a required marker file for distributions that contain type hints: https://peps.python.org/pep-0561/#packaging-type-information
pyright's behavior seems very broken to me. Why is it reporting a `dict` instead of a `Callable` as the outermost type? Why is the key type `_Choice`? That's not one...
That makes sense, I hadn't considered that through the addition of `str`, `dict[str, Any]` would pass as `Iterable[str]` and in turn `Iterable[_Choice]`, so type checkers would be able to infer...