Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

v0.6.1

Choose a tag to compare

@RobertCraigie RobertCraigie released this 01 Mar 01:40
· 433 commits to main since this release
8679ed5

What's Changed

Support for removing all auto-generated files

Although very rare, it is sometimes possible to get your Prisma Client Python installation into a corrupted state when upgrading to a newer version. In this situation you could try uninstalling and reinstalling Prisma Client Python however doing so will not always fix the client state, in this case you have to remove all of the files that are auto-generated by Prisma Client Python. To achieve this you would either have to manually remove them or download and run a script that we use internally.

With this release you can now automatically remove all auto-generated files by running the following command:

python -m prisma_cleanup

This will find your installed prisma package and remove the auto-generated files.

If you're using a custom output location then all you need to do is pass the import path, the same way you do to use the client in your code, for example:

python -m prisma_cleanup app.prisma

Project name change

The name change that occurred in the last release has been reverted, see #300 for reasoning.