* fix(diff): add type hints to whitelisted methods
* fix(global_search): add type hints to whitelisted methods
* fix(custom_html_block): add type hints to whitelisted methods
* fix(deleted_document): add type hints to whitelisted methods
* fix(log_settings): add type hints to whitelisted methods
* fix(role): add type hints to whitelisted methods
* fix(user_type): add type hints to whitelisted methods
* fix(rq_job): add type hints to whitelisted methods
* fix(link_preview): add type hints to whitelisted methods
* fix(email_account): add type hints to whitelisted methods
* fix(web_form): add type hints to whitelisted methods
* fix(web_page_view): add type hints to whitelisted methods
* fix(csvutils): add type hints to whitelisted methods
* fix(file_manager): add type hints to whitelisted methods
* fix(email_body): add type hints to whitelisted methods
* fix(email_queue): add type hints to whitelisted methods
* fix(email_template): add type hints to whitelisted methods
* fix(notification): add type hints to whitelisted methods
* fix(email_group): add type hints to whitelisted methods
* fix(inbox): add type hints to whitelisted methods
* fix(recorder): add type hints to whitelisted methods
* fix(sms_settings): add type hints to whitelisted methods
* fix: tighten type hints
* fix(data_import): add type hints to whitelisted methods
* fix(user_permission): add type hints to whitelisted methods
* fix(gantt): add type hints to whitelisted methods
* fix(like): add type hints to whitelisted methods
* fix(search): add type hints to whitelisted methods
* fix(onboarding_step): add type hints to whitelisted methods
* fix(system_console): add type hints to whitelisted methods
* fix(workspace_sidebar): add type hints to whitelisted methods
* fix(todo): add type hints to whitelisted methods
* fix: correct type hints
* fix(print_format): add type hints to whitelisted methods
* fix(client): add type hints to whitelisted methods
When queue is overloaded every job gets delayed by size of the queue,
this means even interactive jobs like prepared reports face significant
wait times.
This flag allows developer to selectively enable LIFO on such jobs where
ordering doesn't matter. Any time we observe queue to be too large,
we'll insert the job at front so it gets highest priority.
This is a common strategy to deal with queue starvation, we are only
applying it explicitly because job execution order matters for
correctness in some cases.
- fixed chrome_pdf_backend arg by making it int and using it to properly override which pdf generator (chrome / wkhtmltopdf) to use.
- renamed new_pdf_backend to chrome_pdf_backend.
- added chrome_pdf_backend arg in local.from_dict to avoid passing it 4-5 functions deep
* feat: Add deprecation_dumpster.py file
* docs: add jovial and jocose docstring for frappe/deprecation_dumpster.py
* refactor: fill the dumpster with its own kind
* refactor: move to the deprecation dumpster
* chore: color coding class
* fix: only check import error when import errors
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups