seitime-frappe/frappe
Aarol D'Souza 68727cbd61
fix: add type hints to whitelisted methods 4 (#37204)
* fix(utils): add type hints to whitelisted methods

* fix(desktop): add type hints to whitelisted methods

* fix(listview): add type hints to whitelisted methods

* fix(access_log): add type hints to whitelisted methods

* fix(setup_wizard): add type hints to whitelisted methods

* fix(notification_settings): add type hints to whitelisted methods

* fix(calendar): add type hints to whitelisted methods

* fix(notifications): add type hints to whitelisted methods

* fix(query_report): add type hints to whitelisted methods

* fix(load): add type hints to whitelisted methods

* fix(save): add type hints to whitelisted methods

* fix(user): add type hints to whitelisted methods

* fix: correct Document import

* fix(list_view_settings): add type hints to whitelisted methods

* fix(reportview): add type hints to whitelisted methods

* fix(treeview): add type hints to whitelisted methods

* fix(linked_with): add type hints to whitelisted methods

* fix(bulk_update): add type hints to whitelisted methods

* fix(assign_to): add type hints to whitelisted methods

* fix(workspace): add type hints to whitelisted methods

* fix(kanban_board): add type hints to whitelisted methods

* fix(event): add type hints to whitelisted methods

* fix(email): add type hints to whitelisted methods

* fix(exporter): add type hints to whitelisted methods

* fix(permission_manager): add type hints to whitelisted methods

* fix(dashboard_chart): add type hints to whitelisted methods

* fix(number_card): add type hints to whitelisted methods

* fix(tag): add type hints to whitelisted methods

* fix: add hook to force type hints on all whitelisted endpoints

* fix: target_doc can be dict/json string

* fix: doc can be dict/json string

* fix(tests): add type hints to whitelisted methods in test

* fix: tree method is optional

* test: Fix test api types

* chore: drop dead code

* fix: document can be int

* fix: Number card input can be document

As utils in some other API calls

* fix: Always use session user

The only usage of this API that makes sense.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-20 14:53:08 +05:30
..
api Merge pull request #35662 from netchampfaris/v2-bulk-endpoints 2026-01-13 17:27:58 +05:30
automation fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
change_log
commands feat: improve bench execute argument passing (#35964) 2026-02-09 06:22:05 +00:00
contacts fix: force type check in whitelisted methods (#37044) 2026-02-17 15:16:30 +00:00
core fix: add type hints to whitelisted methods 4 (#37204) 2026-02-20 14:53:08 +05:30
custom fix: force type check in whitelisted methods (#37044) 2026-02-17 15:16:30 +00:00
data
database Merge pull request #35318 from AarDG10/add-custom-hook 2026-02-17 23:05:32 +05:30
desk fix: add type hints to whitelisted methods 4 (#37204) 2026-02-20 14:53:08 +05:30
desktop_icon fix: delete associated desktop icon 2026-01-12 10:45:44 +05:30
email fix: validate IMAP folders exist 2026-02-20 12:21:38 +05:30
geo fix(language): typo in myanmar language name (#36931) 2026-02-11 16:01:27 +05:30
gettext feat: add extractors for Workspace Sidebar and Desktop Icon (#37085) 2026-02-16 15:12:01 +00:00
integrations fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
locale fix: sync translations from crowdin (#37284) 2026-02-20 10:10:52 +05:30
model fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
modules fix: importing packages with scripts that have "." in the script name (#35784) 2026-01-29 14:07:11 +05:30
patches fix: use default incoming email account as Reply-To (#36793) 2026-02-19 06:55:04 +00:00
printing fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
public Merge pull request #37207 from KerollesFathy/fix/sidebar-route-options-double-encoding 2026-02-20 14:46:29 +05:30
pulse fix: add compatibility shim for old frappe.pulse.utils imports 2026-01-05 13:28:25 +05:30
query_builder fix(query_builder): added validation to check DocType name (#36878) 2026-02-09 15:24:58 +05:30
search Merge pull request #37244 from netchampfaris/sqlite-fts-ranking 2026-02-19 14:58:46 +05:30
templates fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
testing refactor: tomli -> tomllib 2025-12-22 21:06:48 +05:30
tests fix: add type hints to whitelisted methods 4 (#37204) 2026-02-20 14:53:08 +05:30
types fix: disable UP040, revert some instances to TypeAlias 2025-12-23 13:12:04 +05:30
utils fix: force type check in whitelisted methods 2 (#37086) 2026-02-19 14:58:16 +05:30
website fix: force type check in whitelisted methods 2 (#37086) 2026-02-19 14:58:16 +05:30
workflow fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
workspace_sidebar fix(typo): correct spelling of "Google Calendar" (#36767) 2026-02-06 12:03:18 +05:30
www fix: force type check in whitelisted methods (#37044) 2026-02-17 15:16:30 +00:00
__init__.py fix: restrict the allowed characters in site names (#35134) 2026-02-20 09:17:01 +00:00
_optimizations.py Revert "fix: Pin web workers by default (#31739)" (#32852) 2025-06-09 09:52:23 +00:00
app.py Merge branch 'develop' into bleach-to-nh3 2026-01-23 15:29:44 +07:00
apps.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
auth.py fix: redirect system users to role home page 2026-02-16 19:24:55 +05:30
boot.py refactor: billing components 2026-02-19 13:08:12 +05:30
build.py fix: remove flush all while build assets, as asset build should never clear entire redis database. (#34874) 2025-11-25 11:51:32 +05:30
cache_manager.py fix: Clear assets cache in clear-cache (#36479) 2026-01-29 11:33:33 +00:00
client.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
config.py
coverage.py fix: ignore 'test_*' directories 2025-08-14 18:16:41 +05:30
defaults.py
deferred_insert.py fix: ruff fixes 2025-12-22 21:06:48 +05:30
deprecation_dumpster.py refactor(treewide): ruff format 2025-09-26 13:16:43 +05:30
exceptions.py
frappeclient.py refactor: removed usage of cmd for login (#36801) 2026-02-16 14:09:48 +05:30
handler.py fix: Allow GIF uploads (#35295) 2025-12-17 08:48:31 +00:00
hooks.py fix: add type hints to whitelisted methods 4 (#37204) 2026-02-20 14:53:08 +05:30
installer.py fix: Don't bother resolving installed app (#36610) 2026-02-03 05:50:53 +00:00
locale.py
middlewares.py fix: force download files based on extension even on development server 2026-01-12 11:49:35 +05:30
migrate.py fix: handle names with parenthesis 2025-12-07 23:09:44 +05:30
modules.txt
monitor.py fix: ruff fixes 2025-12-22 21:06:48 +05:30
oauth.py fix: remove irrelevant params 2026-01-29 11:58:10 +05:30
onboarding.py
parallel_test_runner.py refactor: introduce lightmode in parallel test runner 2025-06-19 11:40:09 +05:30
patches.txt fix: use default incoming email account as Reply-To (#36793) 2026-02-19 06:55:04 +00:00
permissions.py refactor: better permission check for single doctypes 2025-12-22 12:13:26 +05:30
push_notification.py fix(push_notification): improve check before returning token 2025-12-11 12:43:06 +05:30
rate_limiter.py
realtime.py fix!: use secret for auth. between servers (#36778) 2026-02-17 11:55:00 +05:30
recorder.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
sessions.py fix: Support short session idle durations (#36773) 2026-02-06 06:46:19 +00:00
share.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
test_runner.py
translate.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
twofactor.py feat: configure SMS OTP template for 2FA (#34585) 2025-11-04 12:32:57 +00:00