Ashley Sommer 6c03dd87b1
Allow Pathlib Path objects to be passed to app.static() helper (#2008)
* Allow Pathlib Path objects to be passed to the app.static file endpoint register helper.

* fixed import sort

* Raise error if static file path is not an accepted object type
Added more tests to improve coverage on the new type checks.
2021-01-19 03:53:14 +02:00
..
2017-03-03 11:44:50 -05:00
2020-09-30 16:44:09 +03:00
2020-12-28 22:47:31 +02:00
2021-01-11 00:45:36 +02:00
2020-07-29 14:09:26 +03:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2021-01-19 01:36:50 +02:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2020-09-29 00:40:24 +03:00
2020-09-27 02:58:36 +03:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2021-01-11 00:45:36 +02:00
2020-09-27 02:58:36 +03:00
2021-01-19 01:36:50 +02:00
2021-01-11 00:45:36 +02:00