James Braza

Results 57 comments of James Braza

Python 3.9's `Annotated` gets us closer to the fixed-length part. Something like: ```python from collections.abc import Sequence from typing import Annotated, TypeAlias TTwoItem: TypeAlias = Annotated[Sequence[int], 2] some_list: TTwoItem =...

Thanks for the thoughtful response! I see what you're saying. Where I discovered this, it was a typo adding extra whitespace, and also `0.3f` format specifier is not something the...

Thanks for sharing your use case. Out of curiosity, what do you think of formatting on the right side of the colon @danielpodrazka ?

Cc @LukasMasuch @szabi

While waiting on a release, one can add this to one's `requirements.txt`: ```none git+https://github.com/LukasMasuch/streamlit-pydantic.git # For pydantic v2 fixes with pydantic-settings ```

Oh wow, `requests-cache` is a TIL for me, thanks! And yeah, it's up to you, was just a suggestion as I noticed CI is somewhat flaky. Maybe instead of caching...

Cc @jmorganca, @mxyng, @pdevine Sorry for cc'ing, but I have a tough time getting a review otherwise

Hi @jmorganca thanks for sharing the article! Yeah I didn't know Ollama's Docker image is meant to be a base image. I think _most_ times it's an end user image,...

For reference, [`pylint` has a `disable-next` directive](https://pylint.readthedocs.io/en/latest/user_guide/messages/message_control.html), which accomplishes this nicely. So similarly, there could be `# noqa-next`.