-
How to reproduce
```python
import pytest
from sanic_testing.reusable import ReusableClient
from sanic import Sanic
from sanic import response
@pytest.fixture(scope="session")
def app():
…
-
- 安装失败
```text
export SANIC_NO_UVLOOP=true
export SANIC_NO_UJSON=true
pip3 install sanic
```
- 安装成功,官网上说的
```text
$ export SANIC_NO_UVLOOP=true
$ export SANIC_NO_UJSON=true
$ pip3 install --…
-
Hi!
I use Blueprint groups, it was ok when I used sanic 20.x with pytest-sanic 1.7.0.
But when I upgraded, I encountered the following:
```
@pytest.fixture
def test_cli(loop, app, sanic_c…
-
Minimal example:
```
from pydantic import BaseModel
from sanic import Sanic
from sanic.response import text
from sanic_ext import openapi
app = Sanic("MyHelloWorldApp")
class RequestSchem…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
When a client downloads data slowly from a Sanic server, Sanic terminates the connection befo…
-
### 是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
- [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
### 该问题是否在FAQ中有解答? | Is there an existing ans…
-
I am trying to add metrics to sanic application.
When running 1 worker everything looks fine, but when configuring more workers no metrics being sent to carbon.
```python
import random
import ti…
-
https://songcser.github.io/2017/09/20/sanic-microservice/
-
Hi. A quick read of the Sanic website front page gives the impression of maintenance problems with the project, and it takes a fair amount of reading elsewhere to figure out that these problems are mo…
-
Pip freeze:
```
aiofiles==23.1.0
anyio==3.6.2
async-generator==1.10
attrs==22.2.0
certifi==2022.12.7
exceptiongroup==1.1.1
h11==0.14.0
html5tagger==1.3.0
httpcore==0.16.3
httptools==0.5.0
…