You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/10/29 22:40:17 UTC

(airflow) 25/44: Fix typo in error message when `render_content` method is not implemented (#34952)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 04da77ef65c2ad4cedfd681571bf9fa2c0d0b7d9
Author: Utkarsh Sharma <ut...@gmail.com>
AuthorDate: Sun Oct 15 21:27:21 2023 +0530

    Fix typo in error message when `render_content` method is not implemented (#34952)
    
    (cherry picked from commit bb81c45aebbe1856d78ac0b159e18abe4b80c15d)
---
 docs/exts/operators_and_hooks_ref.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/exts/operators_and_hooks_ref.py b/docs/exts/operators_and_hooks_ref.py
index 06c37cf0b4..e324053c15 100644
--- a/docs/exts/operators_and_hooks_ref.py
+++ b/docs/exts/operators_and_hooks_ref.py
@@ -246,7 +246,7 @@ class BaseJinjaReferenceDirective(Directive):
 
     def render_content(self, *, tags: set[str] | None, header_separator: str = DEFAULT_HEADER_SEPARATOR):
         """Return content in RST format"""
-        raise NotImplementedError("Tou need to override render_content method.")
+        raise NotImplementedError("You need to override render_content method.")
 
 
 def _common_render_list_content(*, header_separator: str, resource_type: str, template: str):