From 333fd0c1229b1f4cab8556c4ede2180e6d96a17c Mon Sep 17 00:00:00 2001 From: Anton Bobrov Date: Tue, 31 Jul 2018 12:50:43 +0300 Subject: [PATCH] release 0.9.22 --- CHANGELOG.rst | 16 ++++++++++++++++ covador/__init__.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 816b4fd..864ca51 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,21 @@ +0.9.22 +====== + * Schema introspection for view functions + .. code:: python + + import covador + from covador.flask import query_string + + @query_string(boo=int) + def view(): + pass + + print(view.schema.items) + # {'boo': } + + 0.9.21 ====== diff --git a/covador/__init__.py b/covador/__init__.py index 575f5c8..3c4920e 100644 --- a/covador/__init__.py +++ b/covador/__init__.py @@ -2,6 +2,6 @@ from .vdecorator import ValidationDecorator from .types import * -version = '0.9.21' +version = '0.9.22' schema = make_schema(Map) list_schema = make_schema(ListMap)