Tornado-json

Latest version: v1.3.4

Safety actively analyzes 626555 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.2.1

~~~~~

* arg_pattern now contains hyphen
* Handle case where server would crash when generating docs for methods with
no docstring
* Add support for tornado==3.x.x gen.coroutine
* Add format_checker kwarg to schema.validate

1.2.0

~~~~~

* Implement ``tornado_json.gen.coroutine``
* As a fix for `59 <https://github.com/hfaran/Tornado-JSON/issues/59>`_, a custom wrapper for the ``tornado.gen.coroutine`` wrapper has been implemented. This was necessary as we lose the original argspec through it because the wrapper simply has ``(*args, **kwargs)`` as its signature. Here, we annotate the original argspec as an attribute to the wrapper so it can be referenced later by Tornado-JSON when generating routes.

1.1.0

~~~~~

* Handle routes as ``URLSpec`` and >2-tuple in ``api_doc_gen``
* Refactor ``api_doc_gen``; now has public function ``get_api_doc`` for use

1.0.0

~~~~~

* Compatibility updates for ``tornado>=4.0.0``

0.41

~~~~~

* Fixed ``JSendMixin`` hanging if auto_finish was disabled

0.40

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* The ``apid`` class-variable is no longer used
* Schemas are passed as arguments to ``schema.validate``
* Method docstrings are used in public API documentation, in place of ``apid[method]["doc"]``

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.