-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
Hello,
I am trying to run Sanic as a script with two applications on board via `Sanic.serve(…
gmrmn updated
10 months ago
-
### 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():
sanic_app.run(host=HOST, …
-
### Description
**use WRK test three types of web frame to read one recorder in postgresql database
: 1、Sanic+gino, 2、flask+sqlalchemy+gevent+gunicorn, 3、Golang gin+gorm.**
test machine: MacBo…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
For some reason I occasionally see these types of messages in my logs:
```
[2023-03-29 00…
-
Investigate production ready best practices with Sanic.
As I understand it, you don't _need_ a wsgi server (i.e gunicorn) in the way that other python frameworks tend to, but you **can** use one - s…
-
As seen here: https://github.com/ahopkins/sanic-jwt/blob/a6fcb7fe2e95233747fed0e663a98c033a62f651/sanic_jwt/authentication.py#L43 when `user` is `None`, `BaseAuthentication` raises `InvalidRetrieveUse…
-
Is there a possible way of protecting a whole blueprint without the decorator or otherwise. My specific use case requires authentication check on the sanic-openapi swagger routes, but the package only…
-
**FOR REFERENCE:**
That does not seem sensible IMO. It would be a breaking change for a lot of applications. I would think that most people on the Internet would assume `https://mysite.com/foo` and…
-
### Require documentation to use
It would be nice to have some initial documentation that would help to get started with the basic swagger document.
Since this is derived from sanic-openapi and…
-
Is there any Example about how to use multi-database in one Sanic project?
I need to use more than one database in one Sanic project. Is there any simple example about how to config it? (more than…