Robert Craigie
Robert Craigie
The reason they're placed in `/var/tmp/` is to avoid unnecessarily bloating user storage with version upgrades as the engine binaries are quite large. I now understand that the Prisma TypeScript...
Yeah this is something I'd really like to have, in terms of the direct `site-packages` binaries this would be solved with #55. A more feasible solution that could be implemented...
You can now configure the location of the binaries through either a `pyproject.toml` file: ```toml [tool.prisma] binary_cache_dir = '.binaries' ``` Or through an environment variable, e.g. ``` PRISMA_BINARY_CACHE_DIR=".binaries" ``` The...
@max-programming The aforementioned feature has not been released yet. You can try it out by installing from github like so: ``` pip install -U git+https://github.com/RobertCraigie/prisma-client-py ```
Looks like the errors that you're encountering are just a straight up mypy limitation, you could try removing the `OR` field and that *might* fix it.
@TheOnlyWayUp I was planning for this change to be internal only, so everything would stay the same for users. In the Node client, the raw query annotations are used internally...
@danigosa The error you're getting is because of the `?`, in PostgreSQL you have to use `$N` for parameter substitution. For example: ```py res = await db.query_raw( """ SELECT $1...
Another aspect that should be auto completed is literal values, for example: ```py posts = await client.post.find_many( order={ 'created_at': '.', }, ) ``` Should autocomplete with `['asc', 'desc']`
Created a PR for pyright! https://github.com/microsoft/pyright/pull/2334
For reference, the [pydantic pycharm plugin](https://github.com/koxudaxi/pydantic-pycharm-plugin) could be helpful when building a pycharm plugin.