L. Kärkkäinen
e4daf1ab21
Removed flake8, black and isort; moving towards ruff default settings instead.
2023-10-25 04:12:24 +01:00
L. Kärkkäinen
65ba1942cc
Flake8-comprehensions (C4) --fix go brrr
2023-10-25 02:28:52 +01:00
Adam Hopkins
666371bb92
Set multiprocessing start method early ( #2776 )
2023-07-09 22:34:15 +03:00
Moshe Nahmias
5dd1623192
Alow Blueprint routes to explicitly define error_format ( #2773 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-09 14:47:59 +03:00
Adam Hopkins
c21999a248
Resolve headers on different renderers - Issue 2749 ( #2774 )
...
* Resolve headers on different renderers - Issue 2749
* Make pretty
2023-07-09 09:57:22 +03:00
Adam Hopkins
d680af3709
v23.3 Deprecation Removal ( #2717 )
2023-03-26 15:24:08 +03:00
L. Kärkkäinen
a5d7d03413
Nicer traceback formatting ( #2667 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Co-authored-by: L. Karkkainen <tronic@users.noreply.github.com>
Co-authored-by: SML <smlbiobot@gmail.com>
2023-03-06 21:24:12 +02:00
L. Kärkkäinen
dfc0704831
Error page rendering format selection ( #2668 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Co-authored-by: L. Karkkainen <tronic@users.noreply.github.com>
2023-02-26 08:25:10 +02:00
Adam Hopkins
5052321801
Remove deprecated items ( #2555 )
2022-09-29 01:07:09 +03:00
Adam Hopkins
4726cf1910
Sanic Server WorkerManager refactor ( #2499 )
...
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
2022-09-18 17:17:23 +03:00
Adam Hopkins
8dfa49b648
22.3 Deprecations and changes ( #2362 )
2022-01-12 16:28:43 +02:00
Adam Hopkins
4669036f45
Mergeback of 21.12.1 ( #2358 )
...
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
Co-authored-by: Ryu juheon <saidbysolo@gmail.com>
2022-01-06 12:40:52 +02:00
Adam Hopkins
abe062b371
Remove app instance from Config for error handler setting ( #2320 )
2021-12-18 18:58:14 +02:00
Adam Hopkins
0860bfe1f1
Merge release 21.9.2 ( #2313 )
2021-11-17 19:36:36 +02:00
Adam Hopkins
cde02b5936
More consistent config setting with post-FALLBACK_ERROR_FORMAT apply ( #2310 )
...
* Update unit testing and add more consistent config
* Change init and app values to private
* Cleanup line lengths
2021-11-16 13:07:33 +02:00
Adam Hopkins
cf1d2148ac
Smarter auto fallback ( #2162 )
...
* Smarter auto fallback
* remove config from blueprints
* Add tests for error formatting
* Add check for proper format
* Fix some tests
* Add some tests
* docstring
* Add accept matching
* Add some more tests on matching
* Fix contains bug, earlier return on MediaType eq
* Add matching flags for wildcards
* Add mathing controls to accept
* Cleanup dev cruft
* Add cleanup and resolve OSError relating to test implementation
* Fix test
* Fix some typos
2021-09-29 23:53:49 +03:00
Adam Hopkins
066df2c142
Add text and json fallback error handlers ( #1937 )
...
* Add text and json fallback error handlers
* Add tests and auto-detect error fallback type
2020-09-30 15:11:27 +03:00