From 562eb51536797444a658167931b49039e7688d13 Mon Sep 17 00:00:00 2001 From: iron3oxide Date: Tue, 12 Apr 2022 15:57:55 +0200 Subject: [PATCH] docs(Changelog): Adapt changelog fragment I noticed that the number didn't correspond to the PR #, so I renamed the file. Also modified the content to properly reflect the changes. --- changelog.d/950.change.rst | 2 -- changelog.d/951.change.rst | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 changelog.d/950.change.rst create mode 100644 changelog.d/951.change.rst diff --git a/changelog.d/950.change.rst b/changelog.d/950.change.rst deleted file mode 100644 index fd6163c2f..000000000 --- a/changelog.d/950.change.rst +++ /dev/null @@ -1,2 +0,0 @@ -The error signature of _InValidator has been completed, it now includes -the attribute, options and value as proclaimed in the docstring of _in(). diff --git a/changelog.d/951.change.rst b/changelog.d/951.change.rst new file mode 100644 index 000000000..f32cb8da7 --- /dev/null +++ b/changelog.d/951.change.rst @@ -0,0 +1,4 @@ +validators._in() now includes the default argument +"verbose_value_error=False". If set to True, the +ValueError raised in _InValidator includes the attribute, +options and value in addition to the error message. \ No newline at end of file