Use case
Framework
Owner
Python/Eliminate Async Io
This codemod transforms an asynchronous Python code into synchronous code by removing or modifying specific
async
andawait
patterns.Python/Orjson/Recipe
This recipe is a set of codemods that will upgrade json to orjson in your python projects.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Sentry Import Replacement
Replaces Sentry json import with orjson.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Dumps Add UTC Z
Add OPT_UTC_Z to orjson.dumps.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Loads
This codemod converts json.loads to orjson.loads.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Load
This codemod converts json.load to orjson.loads. Adds
.read()
to the file object.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Dumps
This codemod converts json.dumps to orjson.dumps().decode(). Should be run
before
theorjson.dumps-add-UTC_Z
codemod.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Json Response To Orjson Response
This custom codemod replaces
JSONResponse
withORJSONResponse
to bring consistency to the way we handle JSON responses in our codebase. Besides updating the response class, it also updates the imports to usefrom src.json_encoding import ORJSONResponse
.Migrate Pytorch To Accelerator0 26 1
Short description