Jacob Hayes
Jacob Hayes
Currently, `BaseModel.__eq__` only considers the _dict_ representation of the two models. This leads to incorrect (imo) equality for models of different types but the same fields. For example (not contrived,...
- **Poetry version**: Poetry (version 1.4.0) - **Python version**: 3.11.2 - **OS version and name**: macOS 13.2.1 - **pyproject.toml**: https://gist.github.com/JacobHayes/110054b6c6d19ca9d6d811c8b4eca374 - [x] I am on the [latest](https://github.com/python-poetry/poetry/releases/latest) stable Poetry version,...
### Checklist - [x] I have searched the [Sourcery documentation](https://docs.sourcery.ai/) for the issue, and found nothing - [x] I have checked there are no open [bugs](https://github.com/sourcery-ai/sourcery/issues?q=label%3Abug) referencing the same bug...
When using `pydna` in multiple processes (eg: in tests with `pytest-xdist`), the ini file may attempt to be written multiple times or read before the default config is written. Eg,...
**What kind of change does this PR introduce?** - [ ] Bugfix - [x] New Feature - [ ] Feature Improvement - [ ] Refactoring - [ ] Documentation -...
I was trying out LazyVim, which uses [dashboard-vim](https://github.com/nvimdev/dashboard-nvim) and reported a bunch of whitespace: Adding this entry fixed things (in the meantime, I'm [using this](https://github.com/kaplanz/retrail.nvim/issues/6#issuecomment-1820163132) to extend the excludes locally).
I'd like to use SQLModel with strict models exposed via FastAPI. However, there seem to be a few edge cases specifically with date, UUID, and similar "complex" types that aren't...
### Describe the issue: The new `np.strings.add` accepts a `dtype` argument, which works when using `np.str_`, but fails with the new `StringDType`. The error message seems to indicate this is...
When using `git {add,reset,...} -p`, I'd like the screen to be cleared for each hunk. When adding changes that mix a lot of single line edits that sometimes present as...
I've been using a 404 exception handler like below: ```python @app.exception_handler(status.HTTP_404_NOT_FOUND) async def _(request: Request, exc: HTTPException) -> HTMLResponse: return templates.TemplateResponse( request=request, name="404.html", context={"...": ...} ) ``` It'd be helpful...