We don't need to pass JsonPatch into apply_patch function. It will automatically convert the parameter to JsonPatch.
Bug watches keep track of this bug in other bug trackers.