File tree Expand file tree Collapse file tree 5 files changed +2
-18
lines changed Expand file tree Collapse file tree 5 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ It looks for two arguments in the :attr:`flask.Request.values` dict: an integer
3838.. note ::
3939
4040 The default argument type is a unicode string.
41- This will be ``str`` in python3 and ``unicode`` in python2 .
41+ This will be ``str``.
4242
4343 If you specify the ``help `` value,
4444it will be rendered as the error message when a type error is raised while parsing it.
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
21"""
32This module give access to OpenAPI specifications schemas
43and allows to validate specs against them.
54
65.. versionadded:: 0.12.1
76"""
8- from __future__ import unicode_literals
9-
107import io
118import json
129import pkg_resources
1310
14- try :
15- from collections .abc import Mapping
16- except ImportError :
17- # TODO Remove this to drop Python2 support
18- from collections import Mapping
11+ from collections .abc import Mapping
1912from jsonschema import Draft4Validator
2013
2114from flask_restx import errors
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
2- from __future__ import unicode_literals , absolute_import
3-
41import os
52import sys
63
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
2- from __future__ import unicode_literals
3-
41import flask
52import pytest
63
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
2- from __future__ import unicode_literals
3-
41import flask
52
63from flask import Blueprint , request
You can’t perform that action at this time.
0 commit comments