Anders Kaseorg
Anders Kaseorg
The types can’t be used in downstream projects yet—mypy won’t be able to find them until a [`py.typed` marker file](https://peps.python.org/pep-0561/#packaging-type-information) is added to the package.
And the current annotations seem pretty broken, so adding `py.typed` right now would probably break most of those downstream projects. ```python from moto import mock_s3 @mock_s3 def test() -> int:...
Of course #28535 impacts many users given #24260. That’s why the proposal is to revert #24260 **and** #28535. If Node does not make unrequested changes to the terminal state on...
> One problem will be that linters like flake8 are going to complain about py files with too few blank lines. We don't guarantee flake8 compatibility, of course, but this...
@george-zubrienko Rebased.
In fact, you can do it in 8 primitive moves if rays are allowed to be sides.
I guess `MyModel.model_construct(my_field=[1, 2, 3])` does what I’m expecting, though it’s rather verbose, and ideally `MyModel.__init__` would accept *and validate* `MyModel(my_field=[1, 2, 3])`. In any case, the mismatch with mypy...
Can you please take another look at this, especially the part about how the call that works at runtime is rejected by mypy, and the call that fails at runtime...
Thanks for giving this another look. I largely agree with your analysis. The way I’d like `Json[T]` to work is to require `T` in `__init__` but the JSON representation in...
This didn’t work for me. On the first `docker compose up`, it generated a certificate, but did not restart nginx, so it was still serving the self-signed certificate. After `docker...