We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89fe683 commit 0dc4b3eCopy full SHA for 0dc4b3e
flipt/urls.py
@@ -45,7 +45,8 @@ def _flagged_path(
45
name=None,
46
flag_key: str = None,
47
flag_state=True,
48
- Pattern=None, # pylint: disable=invalid-name
+ # pylint: disable=invalid-name
49
+ Pattern=None,
50
):
51
if isinstance(view, (list, tuple)):
52
# For include(...) processing.
@@ -71,7 +72,9 @@ def _flagged_path(
71
72
flag_state=flag_state,
73
)
74
else:
- raise TypeError('view must be a callable or a list/tuple in the case of include().')
75
+ raise TypeError(
76
+ 'view must be a callable or a list/tuple in the case of include().'
77
+ )
78
79
80
flagged_path = partial(_flagged_path, Pattern=RoutePattern)
0 commit comments