File tree 10 files changed +23
-22
lines changed
flask_restplus_sqlalchemy
10 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 1
1
# Sphinx build info version 1
2
2
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3
- config: 69ab87c0bbabcc6d6313fd937c01a0f9
3
+ config: e9d9d97242fb756e7351053bcebcda8f
4
4
tags: 645f666f9bcd5a90fca523b33c5a78b7
Original file line number Diff line number Diff line change 1
1
var DOCUMENTATION_OPTIONS = {
2
2
URL_ROOT : document . getElementById ( "documentation_options" ) . getAttribute ( 'data-url_root' ) ,
3
- VERSION : '0.0.2 ' ,
3
+ VERSION : '0.0.3rc1 ' ,
4
4
LANGUAGE : 'None' ,
5
5
COLLAPSE_INDEX : false ,
6
6
FILE_SUFFIX : '.html' ,
Original file line number Diff line number Diff line change 8
8
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
10
11
- < title > flask_restplus_sqlalchemy package — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
11
+ < title > flask_restplus_sqlalchemy package — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
12
12
13
13
14
14
33
33
< link rel ="index " title ="Index "
34
34
href ="genindex.html "/>
35
35
< link rel ="search " title ="Search " href ="search.html "/>
36
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="index.html "/>
36
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="index.html "/>
37
37
38
38
39
39
< script src ="_static/js/modernizr.min.js "> </ script >
@@ -304,7 +304,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
304
304
< script type ="text/javascript ">
305
305
var DOCUMENTATION_OPTIONS = {
306
306
URL_ROOT :'./' ,
307
- VERSION :'0.0.2 ' ,
307
+ VERSION :'0.0.3rc1 ' ,
308
308
COLLAPSE_INDEX :false ,
309
309
FILE_SUFFIX :'.html' ,
310
310
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 9
9
10
10
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
11
11
12
- < title > Index — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
12
+ < title > Index — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
13
13
14
14
15
15
34
34
< link rel ="index " title ="Index "
35
35
href ="# "/>
36
36
< link rel ="search " title ="Search " href ="search.html "/>
37
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="index.html "/>
37
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="index.html "/>
38
38
39
39
40
40
< script src ="_static/js/modernizr.min.js "> </ script >
@@ -255,7 +255,7 @@ <h2 id="S">S</h2>
255
255
< script type ="text/javascript ">
256
256
var DOCUMENTATION_OPTIONS = {
257
257
URL_ROOT :'./' ,
258
- VERSION :'0.0.2 ' ,
258
+ VERSION :'0.0.3rc1 ' ,
259
259
COLLAPSE_INDEX :false ,
260
260
FILE_SUFFIX :'.html' ,
261
261
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 8
8
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
10
11
- < title > Flask RestPlus SQLAlchemy — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
11
+ < title > Flask RestPlus SQLAlchemy — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
12
12
13
13
14
14
33
33
< link rel ="index " title ="Index "
34
34
href ="genindex.html "/>
35
35
< link rel ="search " title ="Search " href ="search.html "/>
36
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="# "/>
36
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="# "/>
37
37
38
38
39
39
< script src ="_static/js/modernizr.min.js "> </ script >
@@ -304,7 +304,7 @@ <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Pe
304
304
< script type ="text/javascript ">
305
305
var DOCUMENTATION_OPTIONS = {
306
306
URL_ROOT :'./' ,
307
- VERSION :'0.0.2 ' ,
307
+ VERSION :'0.0.3rc1 ' ,
308
308
COLLAPSE_INDEX :false ,
309
309
FILE_SUFFIX :'.html' ,
310
310
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 8
8
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
10
11
- < title > flask_restplus_sqlalchemy — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
11
+ < title > flask_restplus_sqlalchemy — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
12
12
13
13
14
14
33
33
< link rel ="index " title ="Index "
34
34
href ="genindex.html "/>
35
35
< link rel ="search " title ="Search " href ="search.html "/>
36
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="index.html "/>
36
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="index.html "/>
37
37
38
38
39
39
< script src ="_static/js/modernizr.min.js "> </ script >
@@ -191,7 +191,7 @@ <h1>flask_restplus_sqlalchemy<a class="headerlink" href="#flask-restplus-sqlalch
191
191
< script type ="text/javascript ">
192
192
var DOCUMENTATION_OPTIONS = {
193
193
URL_ROOT :'./' ,
194
- VERSION :'0.0.2 ' ,
194
+ VERSION :'0.0.3rc1 ' ,
195
195
COLLAPSE_INDEX :false ,
196
196
FILE_SUFFIX :'.html' ,
197
197
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 8
8
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
10
11
- < title > Python Module Index — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
11
+ < title > Python Module Index — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
12
12
13
13
14
14
33
33
< link rel ="index " title ="Index "
34
34
href ="genindex.html "/>
35
35
< link rel ="search " title ="Search " href ="search.html "/>
36
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="index.html "/>
36
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="index.html "/>
37
37
38
38
39
39
@@ -199,7 +199,7 @@ <h1>Python Module Index</h1>
199
199
< script type ="text/javascript ">
200
200
var DOCUMENTATION_OPTIONS = {
201
201
URL_ROOT :'./' ,
202
- VERSION :'0.0.2 ' ,
202
+ VERSION :'0.0.3rc1 ' ,
203
203
COLLAPSE_INDEX :false ,
204
204
FILE_SUFFIX :'.html' ,
205
205
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 8
8
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
10
11
- < title > Search — flask_restplus_sqlalchemy 0.0.2 documentation</ title >
11
+ < title > Search — flask_restplus_sqlalchemy 0.0.3rc1 documentation</ title >
12
12
13
13
14
14
33
33
< link rel ="index " title ="Index "
34
34
href ="genindex.html "/>
35
35
< link rel ="search " title ="Search " href ="# "/>
36
- < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.2 documentation " href ="index.html "/>
36
+ < link rel ="top " title ="flask_restplus_sqlalchemy 0.0.3rc1 documentation " href ="index.html "/>
37
37
38
38
39
39
< script src ="_static/js/modernizr.min.js "> </ script >
183
183
< script type ="text/javascript ">
184
184
var DOCUMENTATION_OPTIONS = {
185
185
URL_ROOT :'./' ,
186
- VERSION :'0.0.2 ' ,
186
+ VERSION :'0.0.3rc1 ' ,
187
187
COLLAPSE_INDEX :false ,
188
188
FILE_SUFFIX :'.html' ,
189
189
HAS_SOURCE : true ,
Original file line number Diff line number Diff line change 1
1
""" Factory for use with Flask SQL
2
2
"""
3
3
from .factory import ApiModelFactory
4
- __version__ : str = '0.0.2 '
4
+ __version__ : str = '0.0.3 '
Original file line number Diff line number Diff line change 2
2
Contains instace of factory for use by swagger
3
3
"""
4
4
import datetime
5
+ import decimal
5
6
from logging import Logger , getLogger
6
7
from typing import List , Dict
7
8
from flask_sqlalchemy import SQLAlchemy
@@ -109,7 +110,7 @@ def python_to_flask(python_type: type) -> str:
109
110
"""
110
111
if python_type is int :
111
112
return 'Integer'
112
- if python_type is float :
113
+ if python_type in [ float , decimal . Decimal ] :
113
114
return 'Float'
114
115
if python_type is bool :
115
116
return 'Boolean'
You can’t perform that action at this time.
0 commit comments