Commit graph

9 commits

Author SHA1 Message Date
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Ankush Menat
1c613179bb
fix: correct stacklevel for warnings (#18633)
Stacklevel=2 just points to frame that called warning and not frame
where it originated. This frame is useless in most cases as you can just
`grep` for it instead of looking at log.

stacklevel=3 gives frame which is calling the code with warnings.

[skip ci]
2022-10-28 12:22:24 +05:30
gavin
db11af2a5c feat(wip): Custom filters in db.query engine
* Added provision for semi-implemneted version
    * Hard to fix it completely given it's broken on develop / desk
* Added TODO for adding nestedset related filters
2022-05-19 17:31:35 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Gavin D'souza
bf9fcb3ff6 chore(cli): Add pending deprecation warning
* Add PDW for --as-dict in command set-config
* Move all top level imports inside each util to optimize imports for
  CLI
* Set always show filter for DeprecationWarning, PendingDeprecationWarning via frappe module
2021-05-05 15:33:44 +05:30
Gavin D'souza
aabbfb8df8 feat: switch teams if you are a part of multiple 2020-05-28 18:17:41 +05:30
Gavin D'souza
ed344ae8cf chore: updated docstrings for command APIs 2020-05-15 12:11:05 +05:30
Gavin D'souza
a48c24e4bf chore: consistent functions used for inputs, removed unused imports 2020-05-14 13:01:46 +05:30
Gavin D'souza
637409095c fix: simplyify and segregate migrator utils 2020-05-14 12:24:00 +05:30