James Braza

Results 182 comments of James Braza

@alexol91 as programmers, we must learn the dark arts of using workarounds :). In case you didn't know about these: - Direct install: `pip install git+https://github.com/pmdevita/ormar.git@feature/sqlalchemy2` - `requirements.txt`: `ormar @...

Just reading this PR, @krrishdholakia just to share for your knowledge, the `py.typed` file is correct here, it's a marker file (presence/absense) so it's contents doesn't matter (normally it's empty)...

For me, it keeps all requirements centralized. For example, other places in my requirements have: ```none SQLAlchemy[postgresql_psycopgbinary] langchain[openai] ``` So with a extra I could have: `Faker[Biology]`

@visuallization did you ever figure this out? I believe from looking at your fork that this issue was resolved, and is a dupe of https://github.com/suragnair/alpha-zero-general/issues/191

I just opened a related issue https://github.com/prettier/prettier/issues/16076, which points out https://github.com/pre-commit/mirrors-prettier stopped supporting `prettier` v3 after `v3.1.0`, even though v3 releases are still being cut

Yeah it does if you just `pip install -r requirements.in --extra-index-url=https://download.pytorch.org/whl/nightly`, thanks for asking

@AndydeCleyre it's unsurprising because PyTorch 2.2 started supporting 3.12. The error only happens with `torch

Yeah sorry for being unclear there, I just meant open source users likely don't use package mangers beside PyPI, so they don't have an extra index URL. Here is a...

One can get pretty close with [`contextlib.closing`](https://docs.python.org/3/library/contextlib.html#contextlib.closing): ```python import contextlib from playwright.sync_api import sync_playwright with sync_playwright() as p, contextlib.closing(p.chromium.launch()) as browser: ... # Use browser ``` However, it would be...

I am also okay with defaulting to `None`, I just request the docstring state: 1. The correct default of `None` 2. That `None` is equivalent to `False`, within the implementation...