v0.6.0 #294
RobertCraigie
started this conversation in
General
v0.6.0
#294
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Fixes
What's Changed
Client renamed to Prisma
In order to improve readability, the recommended method to import the client has changed from
Client
toPrisma
. However, for backwards compatibility you can still importClient
.Removed redundant subclass warning when using FastAPI
By default a warning is raised when you attempt to subclass a model while using pseudo-recursive types, see the documentation for more information.
This warning was raised when using a Prisma model in a FastAPI response model as FastAPI implicitly subclasses the given model. This means that the warning was actually redundant and as such has been removed, the following code snippet will no longer raise a warning:
Prisma upgrade
The internal Prisma binaries that Prisma Python makes use of have been upgraded from v3.8.1 to v3.9.1. For a full changelog see the v3.9.0 release notes and v3.9.1 release notes.
Removing the HTTP timeout
You can now completely remove the internal HTTP timeout
Project Name Change
This project has been renamed from
Prisma Client Python
toPrisma Python
Attributions
Thanks to @ghandic for the bug report and thanks to @kivo360 for contributing!
This discussion was created from the release v0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions