-
-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frameworks passing #394
Merged
Merged
Frameworks passing #394
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a7af62f
Uncouple flask from App and Api. Created Abstract classes for theses …
dutradda 7c87126
uncouple flask utils functions from utils module
dutradda 3067315
Uncouple flask from operation
dutradda 5857dd2
Uncouple all flask functions from base code.
dutradda 5cc848f
fixed missing method parameters and trailling spaces
dutradda e7a75d5
rebased with master
dutradda 7ffa3d4
Uncouple all flask functions from base code.
dutradda 96ba88a
Renamed Api classes to API;
dutradda 3952ea2
did changes requested by isort and flake8
dutradda 7552289
rebased with master
dutradda fb7f986
did flask a optional dependency
dutradda 2ddebfd
did changes requested by isort-check
dutradda 65bfe5a
rebased with master and added backward compatibility for Api and App …
dutradda 719f685
Use lowecase for local variables
rafaelcaricio 56e6197
Keep README using old connexion.App class
rafaelcaricio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
from flask import (abort, request, send_file, send_from_directory, # NOQA | ||
render_template, render_template_string, url_for) | ||
import werkzeug.exceptions as exceptions # NOQA | ||
from .app import App # NOQA | ||
from .api import Api # NOQA | ||
from .apps import AbstractApp, FlaskApp # NOQA | ||
from .apis import AbstractAPI, FlaskApi # NOQA | ||
from .exceptions import ProblemException # NOQA | ||
from .problem import problem # NOQA | ||
from .decorators.produces import NoContent # NOQA | ||
from .resolver import Resolution, Resolver, RestyResolver # NOQA | ||
|
||
App = FlaskApp | ||
Api = FlaskApi | ||
|
||
# This version is replaced during release process. | ||
__version__ = '2016.0.dev1' |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .abstract import AbstractAPI | ||
from .flask_api import FlaskApi | ||
|
||
__all__ = ['AbstractAPI', 'FlaskApi'] |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about in the original method to add
*args, **kwargs
just to signal that it might have arguments in the subclasses?