David Lord
a7b02b3a07
converters have access to session
2021-05-14 08:11:09 -07:00
David Lord
6fe7f45725
inform mypy that g has arbitrary attributes
2021-05-13 13:06:32 -07:00
pgjones
77237093da
Add initial type hints
...
This should make it easier for users to correctly use Flask. The hints
are from Quart.
2021-04-26 17:29:53 +01:00
Matthew Preble
01621485fd
Ensure session_interface.open_session is called after URL matching ( #3776 )
2021-02-01 20:41:17 -08:00
David Lord
f2f027d1fb
remove unused module docstrings
2020-04-04 12:28:08 -07:00
David Lord
2ae740dd49
f-strings everywhere
2020-04-04 12:10:00 -07:00
David Lord
524fd0bc8c
apply pyupgrade
2020-04-04 12:10:00 -07:00
David Lord
57d628ca74
remove more compat code
2020-04-04 12:10:00 -07:00
David Lord
662c245795
remove _compat module
2020-04-04 12:10:00 -07:00
Marc Hernandez Cabot
5da342e4dd
fix docstring and remove redundant parentheses
2020-02-10 17:03:52 -08:00
Arnav Borborah
553b26f857
Fix typo in pop documentation
2019-08-15 21:05:33 -04:00
David Lord
1351d0a565
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
c65863912b
move url matching after opening session
2019-06-13 12:40:01 -07:00
Elad Moshe
1ff98a2d21
wait until app ctx is ready before matching url
...
`RequestContext.match_request` is moved from `__init__` to `push`. This
causes matching to happen later, when the app context is available.
This enables URL converters that use things such as the database.
2019-06-13 08:32:23 -07:00
David Lord
53c893b646
fix string concats left over by black
2019-06-01 09:22:20 -07:00
David Lord
43483683b2
apply reorder-python-imports pre-commit config
2019-06-01 09:07:20 -07:00
David Lord
ca278a8694
move to src directory
2019-06-01 08:06:16 -07:00