prisma-client-py
prisma-client-py copied to clipboard
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
## Problem Currently, testing applications that use Prisma Client Python requires a fair bit of manual setup and non-obvious code paths, we can make this easier by providing a pytest...
# Problem The internal `executeRaw` and `queryRaw` methods are not available when using MongoDB, we should not include them in the generated client.
Currently we only test our dependencies on their latest versions, we should also run tests on the minimum version to ensure our metadata is up to date.
## Problem We currently define all nested relational input types like: `PostCreateWithoutRelationsInput` when we could instead define them like: `PostCreateWithoutAuthorInput`. This was originally implemented like this due to complexities with...
## Bug description If a column is mapped to a different name at the database level then pydantic will raise a ValidationError when attempting to construct the model object: ```prisma...
## Bug description The following code will pass type checks but will raise an error at runtime as user is a required relation ```py Profile.prisma().create({'bio': 'My bio', 'country': 'Scotland'}) ```...
## Problem Currently the CLI binary targets are: `windows`, `linux` and `darwin`. We should also build for targets such as `node12-linux-arm64` ## Suggested solution We do not currently have control...
## Problem Currently if you want to manually instantiate values you need to also pass values for all fields that have default values. We should support automatically passing defaults for...
## Problem It is difficult to use Prisma Client Python in a CLI that will be installed by users as the generation step needs to be ran. ## Suggested solution...
## Problem A user on the Prisma Python discord showcased their partial model generator which is highly dynamic and makes use of internal features, we should improve support for this...