feat: new REST API for copy_doc by barredterra [frappe] PR#31160
From: https://github.com/frappe/frappe/pull/31160
Date: 2025-02-07 13:16:53+01:00
- feat: new REST API for copy_doc (#31160)
Diagnostics
pre-commit failed for source commit: aade0df7bf14900613b89307ac3c2a4b76ac5f19
[WARNING] top-level `default_stages` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
frappe/tests/test_api_v2.py:23:24: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
21 | version = "v2"
22 | DOCTYPE = "ToDo"
23 | GENERATED_DOCUMENTS = []
| ^^ RUF012
24 |
25 | @classmethod
|
Found 1 error.
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-31160
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-31160
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease