seitime-frappe/frappe/integrations
Ankush Menat 4754ab71d1
perf(minor): remove unnecessary comprehensions
- remove several unnecessary comprehensions from functions that accept a generator.
- Using `[x for x in iter]` causes a list to be built first then passed to the outer function.
- `any` and `all` can take generator instead. This makes memory usage O(1) and actually makes these functions short-circuiting. E.g. if the first condition fails then `all` will immediately return false instead of evaluating all the entries.
- `sum`, `min`, `max` => memory usage become O(1)
- `list`, `set`, `.join()` => roughly halves memory usage, as list is not required to be built.
- lastly, it's two fewer characters to read/think about.
2021-05-12 20:38:18 +05:30
..
doctype perf(minor): remove unnecessary comprehensions 2021-05-12 20:38:18 +05:30
frappe_providers style: Black-ish + fixed typos + Optimized imports 2020-11-17 16:29:54 +05:30
workspace/integrations feat: rename desk page to workspace 2020-12-04 14:16:26 +05:30
__init__.py Moved Backup Manager and Social Login keys to the new Integrations Module, prepared frappe for Mandrill Integration 2015-08-11 12:03:13 +05:30
oauth2.py refactor: fix py3 datatypes and remove references to six in oauth 2021-04-28 14:02:23 +05:30
oauth2_logins.py allow again fairlogin as ID provider 2020-01-13 09:35:12 +01:00
offsite_backup_utils.py style: Remove unused import 2020-11-18 14:01:14 +05:30
utils.py fix(integration-request): handle response and update status 2020-09-28 02:08:24 +05:30