This is an automated email from the ASF dual-hosted git repository. dill0wn pushed a commit to branch dw/8565 in repository https://gitbox.apache.org/repos/asf/allura.git
commit 68461687e0230b4bda18050f4892c665f525c9a6 Author: Dillon Walls <dillon.wa...@slashdotmedia.com> AuthorDate: Tue Jul 2 11:42:48 2024 -0400 drop pymongo/ming method --- Allura/allura/lib/custom_middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Allura/allura/lib/custom_middleware.py b/Allura/allura/lib/custom_middleware.py index 1baf4c4f1..c1af2d3b3 100644 --- a/Allura/allura/lib/custom_middleware.py +++ b/Allura/allura/lib/custom_middleware.py @@ -328,7 +328,7 @@ class AlluraTimerMiddleware(TimerMiddleware): 'insert_now', 'update_now', 'delete_now', 'find', 'find_one_and_update', 'find_one_and_replace', 'find_one_and_delete', 'remove', 'update', 'update_if_not_modified', - 'aggregate', 'group', 'distinct', + 'aggregate', 'distinct', ), # Timer('ming', ming.schema.Document, 'validate', # debug_each_call=False), @@ -336,7 +336,7 @@ class AlluraTimerMiddleware(TimerMiddleware): # '_validate_fast_missing', '_validate_optional', # debug_each_call=False), Timer('mongo', pymongo.collection.Collection, 'count', 'find', - 'find_one', 'aggregate', 'group', + 'find_one', 'aggregate', 'find_one_and_update', 'find_one_and_replace', 'find_one_and_delete', 'insert', 'save', 'update', 'remove', 'drop'), Timer('mongo', pymongo.cursor.Cursor, 'count', 'distinct',