From 8f98c55788156ecf86aace36d9c407a1518ce924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=EC=84=A0=EC=98=A4?= Date: Tue, 3 Dec 2024 22:13:08 +0900 Subject: [PATCH] Update rest_framework.urlize_quoted_links --- rest_framework-stubs/templatetags/rest_framework.pyi | 3 --- scripts/stubtest/allowlist_todo.txt | 1 - 2 files changed, 4 deletions(-) diff --git a/rest_framework-stubs/templatetags/rest_framework.pyi b/rest_framework-stubs/templatetags/rest_framework.pyi index 9f4a080b0..f0c846335 100644 --- a/rest_framework-stubs/templatetags/rest_framework.pyi +++ b/rest_framework-stubs/templatetags/rest_framework.pyi @@ -45,7 +45,4 @@ simple_url_2_re: Any simple_email_re: Any def smart_urlquote_wrapper(matched_url: Any) -> Incomplete: ... -def urlize_quoted_links( - text: Any, trim_url_limit: Any | None = ..., nofollow: bool = ..., autoescape: bool = ... -) -> Incomplete: ... def break_long_headers(header: Any) -> Incomplete: ... diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index 9b407de32..b7049bf50 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -101,7 +101,6 @@ rest_framework.serializers.UnsupportedMediaType rest_framework.serializers.empty rest_framework.settings.DefaultsSettings rest_framework.settings.api_settings -rest_framework.templatetags.rest_framework.urlize_quoted_links rest_framework.test.APIClient.options rest_framework.test.RequestsClient.__init__ rest_framework.throttling.SimpleRateThrottle.cache