sanic
sanic copied to clipboard
Accelerate your web app development | Build fast. Run fast.
### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the bug 我封装了一个类,用来获取json数据,然后将这个类注入到app中。结果在获取的json是None。 I encapsulated a class to retrieve JSON data and...
Much needed guide for explaining what happens when blocking calls are used in Sanic
### Link to code _No response_ ### Proposal I am using Sanic version 21.12.1 on Ubuntu 20.04.5 and below is my code to start the sanic server: ``` def init():...
Each individual run of Sanic sort of runs on its own. The Inspector is a very powerful tool that can be used for introspection, monitoring, and scalability. However, it really...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Describe the bug ```python from typing import Optional @dataclass class VClass: name: Optional[str]...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the bug In the following code, two APIs using Unix sockets are...
Raising a 412 on a Sanic handler causes a wait period and maybe a ReadTimeout exception on clients
**Describe the bug** When raising a 412, clients are left waiting to read until a timeout is triggered and a ReadTimeout exception may occur. **Code snippet** The issue can be...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Is your feature request related to a problem? Please describe. The guide folder...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Is your feature request related to a problem? Please describe. The tests folder...
Removes a default value in case no matches were found, in which case it previously defaulted to `None`. Instead, return an empty list which is more sensible in this case...