forked from noirbizarre/flask-restplus
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace sanic-plugins-framework with sanic-plugin-toolkit Continue to slowly fix some tests
- Loading branch information
1 parent
d4a84d8
commit 000bb2f
Showing
21 changed files
with
166 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from sanic import Sanic | ||
from sanic_restplus.restplus import restplus | ||
from spf import SanicPluginsFramework | ||
from sanic_plugin_toolkit import SanicPluginRealm | ||
from examples.zoo import api | ||
|
||
app = Sanic(__name__) | ||
spf = SanicPluginsFramework(app) | ||
rest_assoc = spf.register_plugin(restplus) | ||
realm = SanicPluginRealm(app) | ||
rest_assoc = realm.register_plugin(restplus) | ||
rest_assoc.api(api) | ||
|
||
app.run(debug=True, auto_reload=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
aniso8601>=0.82 | ||
jsonschema | ||
methodtools | ||
sanic>=18.12.0,<21 | ||
sanic-jinja2-spf>=0.8.0 | ||
sanic-plugins-framework>=0.9.5 | ||
sanic>=21.3.4,<22 | ||
sanic-jinja2>=0.10.0 | ||
sanic-plugin-toolkit>=1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ pytest-asyncio | |
pytest-mock==1.10.4 | ||
pytest-profiling==1.7.0 | ||
pytest-sugar==0.9.2 | ||
sanic-testing>=0.4.0 | ||
tzlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- coding: latin-1 -*- | ||
# | ||
__version__ = '0.5.6' | ||
__version__ = '0.6.0' | ||
__description__ = 'Fully featured framework for fast, easy and documented API development with Sanic' |
Oops, something went wrong.