From ff236251b7131761dc50c1f9f43bad9935f91832 Mon Sep 17 00:00:00 2001 From: Mauricio Villegas <5780272+mauvilsa@users.noreply.github.com> Date: Mon, 10 Nov 2025 14:42:00 -0500 Subject: [PATCH] Path.__call__ deprecation not shown in docs. --- jsonargparse/_deprecated.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsonargparse/_deprecated.py b/jsonargparse/_deprecated.py index f2e62627..37e56a2a 100644 --- a/jsonargparse/_deprecated.py +++ b/jsonargparse/_deprecated.py @@ -24,6 +24,7 @@ "ActionPathList", "HelpFormatterDeprecations", "LoggerProperty", + "PathDeprecations", "ParserDeprecations", "ParserError", "compose_dataclasses", @@ -499,8 +500,8 @@ def skip_check(self, skip_check): deprecation_warning("Path attr set", path_immutable_attrs_message) self._skip_check = skip_check + @deprecated(path_call_message) def __call__(self, absolute: bool = True) -> str: - deprecation_warning("Path.__call__", path_call_message) return self._absolute if absolute else self._relative