From 9ecd36d653200544fc22b94ffa39101e6f08d6fc Mon Sep 17 00:00:00 2001 From: Aman Pandey Date: Tue, 27 Aug 2024 21:55:09 +0530 Subject: [PATCH] fix word spelling --- debug_toolbar/panels/__init__.py | 2 +- debug_toolbar/panels/sql/panel.py | 4 ++-- docs/spelling_wordlist.txt | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py index fd3aff89f..2b9b0db97 100644 --- a/debug_toolbar/panels/__init__.py +++ b/debug_toolbar/panels/__init__.py @@ -155,7 +155,7 @@ def enable_instrumentation(self): Unless the toolbar or this panel is disabled, this method will be called early in ``DebugToolbarMiddleware``. It should be idempotent. - Add aenable_instrumentation method to the Panel class to support async + Add aenable_instrumentation method to the panel class to support async instrumentation logic. """ diff --git a/debug_toolbar/panels/sql/panel.py b/debug_toolbar/panels/sql/panel.py index ab500b212..fe18a9c11 100644 --- a/debug_toolbar/panels/sql/panel.py +++ b/debug_toolbar/panels/sql/panel.py @@ -195,8 +195,8 @@ def get_urls(cls): async def aenable_instrumentation(self): """ - Async version of enable_instrumentation. - For async-capable panels that has async logic for instrumentation + Async version of enable instrumentation. + For async capable panels having async logic for instrumentation. """ await sync_to_async(self.enable_instrumentation)() diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index 8d9b27dcb..27b9e579e 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -17,6 +17,7 @@ checkbox contrib dicts django +enable_instrumentation fallbacks flamegraph flatpages