mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 22:50:52 +03:00
Fix syntax of ext.flask for Python 2.7, 3.4, 3.5
This commit is contained in:
parent
541534ec1d
commit
fc6a13230a
|
@ -58,8 +58,7 @@ class Route:
|
|||
endpoint=None,
|
||||
view_provider=None,
|
||||
provide_automatic_options=None,
|
||||
**options,
|
||||
):
|
||||
**options):
|
||||
"""Initialize route."""
|
||||
self.view_provider = view_provider
|
||||
self.args = (rule, endpoint, as_view(view_provider, endpoint), provide_automatic_options)
|
||||
|
|
Loading…
Reference in New Issue
Block a user